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 PHP # 5G BLACKLIST/FIREWALL (2013) # @ https://perishablepress.com/5g-blacklist-2013/ # 5G:[QUERY STRINGS] RewriteEngine...

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. Automatic Updates 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. PERISHABLE PRESS ULTIMATE USER-AGENT BLACKLIST Options All -Indexes RewriteEngine on # Block Bad Bots & Scrapers SetEnvIfNoCase User-Agent "Aboundex" bad_bot...

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...

Disable PHP File Execution via .htaccess

Here is the code that you can put in your .htaccess file within a folder to disable php file execution.  It is very useful in the WordPress's wp-content/uploads directory for making sure files that get uploaded are not executable. Stop PHP File Execution <Files...