It looks like I can manually put these rules above the BPS block via the htaccess editor within the plugin as well. However if anything is changed (activating RBM for example), these additions are removed, even if they were made in the secure.htaccess which seemed to be a template. How can I make manual changes and not have to worry about losing them later on?
Plugin Author
AITpro
(@aitpro)
If you want to add stand-alone htaccess code at the top of your htaccess file then use this Custom Code text box: CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE. If you want to add stand-alone htaccess code at the bottom of your htaccess file then use this Custom Code text box: CUSTOM CODE BOTTOM HOTLINKING/FORBID COMMENT SPAMMERS/BLOCK BOTS/BLOCK IP/REDIRECT CODE
If you htaccess code that is NOT stand-alone htaccess code then post your code so I can tell you how and where to combine it into BPS standard code by copying your htaccess code to X Custom Code text box.
I have recently installed this plugin on many sites, and it has come to my attention that this plugin rewrote over the htaccess file rather than apply a block like other plugins.
BPS htaccess files do NOT use stand-alone htaccess code. So it is not possible to create BPS htaccess code in code blocks and have everything work correctly. ie # BEGIN > # END. BPS htaccess files/code are integrated into the WordPress Rewrite Loop htaccess code. In order for BPS to apply its security rules to any/every URL depth level within the WordPress Rewrite Loop, BPS htaccess code incorporates and is integrated into the WP Rewrite Loop.
Plugin Author
AITpro
(@aitpro)
Did this answer all of your questions? If so, please resolve this thread. If not, please post any additional questions you may have. Thanks.
Thread Start Date: 8-18-2016
Current Date: 8-19-2016
Hello,
I’m sorry for the delay. I was just able to try this on one of our sites and it looks like it is working as intended now. Thank you for the response, I will go ahead and mark this as resolved.