by greg | Jun 24, 2015
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...
by greg | May 4, 2017
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’,...
by greg | Jul 26, 2016
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...
by greg | Jan 22, 2018
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...
by greg | Mar 17, 2017
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. <Files *.php> deny from...