Using WooCommerce with Varnish, exclude pages and cookies

Woocommerce Varnish Exclude Pages Cookies

To use WooCommerce with Varnish server-side caching you need to exclude some of the generic WooCommerce pages and cookies. Some web hosts will partially do this for you and others will give you an interface to add them yourself, make…

Adding Cloudflare to the mix of ServerPilot and fail2ban

Cloudflare Fail2ban Serverpilot

This guide looks at adding Cloudflare to a set up of ServerPilot and fail2ban with a WordPress jail set up. Once you start using Cloudflare as a CDN solution for your hosting, you are adding another firewall into the equation,…

Temporarily Turn off Modsec filtering

Turn Off Modsec

You can temporarily turn off Modsec filtering by adding a code snippet rule to your .htacces file, this can be helpful if you are triggering a number of rules which are false positives or you are unable to get the…

Git WordPress workflow for Local Development to Staging Site

This guide shows a Git WordPress workflow and demonstrates version control using Git from a local development environment on macOS to a staging site web server. For the Database control and pushing to staging, we will use WP Migrate Pro. A second remote repo…

Setting Up GeoIP Location on Piwik on ServerPilot

geocity-piwik-serverpilot

Using a combination of ServerPilot and a Vultr server instance is a great solution for a Piwik server for tracking analytics. After setting up the initial Piwik install here is how you can set up the GeoIP location module set…

Replacing the default ServerPilot Firewall with your own using UFW

serverpilot-custom-firewall

ServerPilot comes with a default firewall enabled when you connect to a droplet instance such as from Vultr or Digital Ocean, the only option you have from the ServerPilot control panel is to toggle if on or off. The actual…

Install fail2ban for SSH on ServerPilot / Vultr Instance

fail2ban-serverpilot-vultr

ServerPilot out of the box does not have a solution to deal with brute force attacks, it does have a sister company called Heatshield which rejects IP addresses that try and constantly connect to your site, you can also do the…

Set Up LMD Maldet and ClamAV on ServerPilot and VULTR

malware-lmd-clamav-serverpilot-vultr

Set up a malware scanner with LMD Maldet and ClamAV on ServerPilot and an instance like Vultr or Digital Ocean. One of the key server malware scanners is Linux Malware Detect and works very nicely scanning any Linux distribution, it keeps an updated…

Changing the SSH Port in ServerPilot

serverpilot-ssh-port-firewall

ServerPilot comes with a default firewall which is enabled and comes in the form of a toggle in the ServerPilot control panel. The panel is a front for the ufw (uncomplicated firewall)  app which in turn is a front for…

Viewing and Changing WordPress Default Permissions

wordpress-file-folder-permissions

Many issues can go wrong if your WordPress default permissions have changed due to some unforeseen circumstance or a migration has gone bad due to some abnormal hosting environment. The default Linux permissions for most hosts WordPress sites are 644…