Rollback your Git repository to an earlier commit
If you need to roll your codebase back to a previous state, Git makes it easy to do this right from Git Bash.
If you need to roll your codebase back to a previous state, Git makes it easy to do this right from Git Bash.
Do you have some text or HTML across your site that you’d like to change? For example, maybe you want to change every instance that you use the <h3> tag, and instead use the <h4> tag.You can make changes like this by writing and running some SQL. Changes like this can be risky if you …
Bulk replace text in all of your WordPress posts using SQL Read More »
This guide intends to walk you through every step of a WordPress install, and to avoid the use of a GUI whenever possible. It was designed with NearlyFreeSpeech.NET hosting in mind, but may be helpful on other hosts as well. First, we’ll set up the database that WordPress needs to run. Log into phpMyAdmin (or …
How to install WordPress with (almost) just the command line Read More »
Any responsible site that accepts passwords, form responses, or other user data must use HTTPS. If you’re hosting your site with NearlyFreeSpeech.NET, it is very easy to set up a TLS cert and HTTPS. Here’s how: Connect to your website via a SSH client like PuTTY. Run the command tls-setup.sh Accept the Let’s Encrypt Subscriber …
Set up HTTPS (TLS) for a NearlyFreeSpeech.NET website Read More »
Using a post-receive hook is a good way to perform a scripted action each time new changes are pushed to a git repo. (If you have not yet set up a basic post-receive hook, consider consulting this article.) If you’re interested in adding more to your post-receive hook, you might want to have a quick …
Manually trigger a git post-receive hook for testing Read More »
Want to use git for a small team of developers, but can’t (or don’t want to) use a git server? No problem! All you need is a shared network drive (like a dev server) that all of your developers can access. You’ll set up a repository for each developer, a central bare repository for them …
Use git with just a shared network drive. No git server required! Read More »
This guide intends to walk you through every step of a WordPress install. It was designed with NearlyFreeSpeech.NET hosting in mind, but may be helpful on other hosts as well. Want an even faster way of installing WordPress? You can try the steps here if your server already has the wp cli installed. (You can …
If you’re a designer who enjoys using Typekit web fonts, you may also want to use them with your WordPress sites. Fortunately it is fairly easy to do so with some CSS knowledge and a WordPress plugin.