Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12461

Reply To: HC Custom WP-Admin – 403 error

$
0
0

This plugin removes/deletes all BPS security code from the root .htaccess file…which is a bad way to just add 1 line of code into the root .htaccess file. Instead of deleting all security code in the root .htaccess file the much better method to add 1 line of code would have been to do a preg_match for the standard WordPress rewrite lines of code and then a preg_replace so that only the 1 line of code that this plugin should be adding is added instead of deleting everything else just for 1 line of code. Bad logic/method. ;).

You would need to create a new BPS root .htaccess file using the Create secure.htaccess File AutoMagic button and then copy the BPS WP REWRITE LOOP START code to BPS Custom Code and add the RewriteRule ^mysecret/?$ /wp-login.php [QSA,L] line of code…

2. Click the Save Root Custom Code button.
3. Go to the Security Modes page, click the Create secure.htaccess File AutoMagic button and activate root folder BulletProof Mode.

  • This reply was modified 1 hour, 11 minutes ago by Avatar of AITpro Admin AITpro Admin.

Viewing all articles
Browse latest Browse all 12461

Trending Articles