Going with a static site can be very compelling these days, say goodbye to security and performance issues. There are no connection issues with MySQL or the white screen of death.
If you want to make sure to run tests on every commit or push, git hooks are a great and easy tool to use. Git hooks are a mechanism that allows arbitrary code to be run before, or after, certain Git lifecycle events occur. The hooks can be any executable code, including shell, PowerShell, Python, or any other scripts. Alternatively, they may be a binary executable. Anything goes!
Think of the commit log as a newsfeed for your project, in which the log message is the headline for each commit. Have you ever skimmed the headlines in a newspaper (or, for a more current example, BuzzFeed) and came away thinking you’d gotten a summary of what was happening in the world?
Sometimes, you may want to preview your newly deployed website before you update its DNS settings. The redirect of DNS can also take awhile to you want to make sure everything is working if you have moved to a new server. This can also be useful when you’re creating a brand new website, or want to test your name-based virtual hosting configuration or another DNS-related feature. By making the changes described below, you can test your new setup from your local computer without affecting global access to your domain’s current location.
A Git cheat sheet saves you from learning all the commands by heart.
Here are some common WordPress security myths. Internet is full of bad tutorials, don’t waste time on those.
I wrote a guest post on CSS-Tricks. It’s a tutorial about GitFTP-Deploy and why you should use a VCS. Enjoy!
Looking for an easy checklist of how to hardening security on your WordPress site without bloated plugins? Look no further. Here is an easy list without the extra fluff, based on my own experiences. I use it for myself when helping clients. The aim is to make your installation more secure than your neighbor. ;-)