Additional Security Headers

There are always people that are interested in running things as secure as possible. You should need to place this code into a file within the mu-plugins directory to ensure it gets fired as early as possible when loading the front end of the website. I have been able...

5G Blacklist 2013 by perishablepress.com

This is something I came across on perishablepress.com was a way to help protect your website though the .htaccess file. # 5G BLACKLIST/FIREWALL (2013) # @ https://perishablepress.com/5g-blacklist-2013/ # 5G:[QUERY STRINGS] RewriteEngine On RewriteBase / RewriteCond...

Automatic Updating

So not sure how often it does do this but according to WordPress you are able to add some filters so that updates automatically happen.  It is best to add these into your child's functions.php file. add_filter( ‘auto_update_core', ‘__return_true' );...

Bad bots exclusion via .htaccess

I found this floating around on the web so I can't take full credit for it but I have been adding to it. Options All -Indexes RewriteEngine on # Block Bad Bots & Scrapers SetEnvIfNoCase User-Agent “Aboundex” bad_bot SetEnvIfNoCase User-Agent...

Directory Protection for WordPress via .htaccess

So I have found that the regular Directory Protection feature in CPanel does not work straight out of the box with WordPress installs.  In the below code after you setup a protection through CPanel you can take the provided data and customize it to match what is...