BWPS adds rules to .htaccess in subdirectory rather than root
-
Currently, I have WordPress installed into a subdirectory at https://www.example.com/wordpress, although the site address is just https://www.example.com. (This is a supported configuration).
And I’ve enabled HackRepair.com’s blacklist on the Ban tab of BWPS. This results in a whole bunch of entries being added to the .htaccess file.
However, BWPS adds those entries to the .htaccess file which is in the /wordpress subdirectory, and I believe this is incorrect.
Instead, it should add those entries to the .htaccess file which is in the root directory. This is where WordPress itself adds its own mod_rewrite rules, and I believe this is the correct place for all WordPress .htaccess rules to reside, even when WordPress is installed into a subdirectory. There doesn’t need to be any .htaccess file in the /wordpress subdirectory, if there is one in the root directory already.
It would be great if BWPS 4.0 would add its rules to the .htaccess in the root directory and not create a second .htaccess file in the subdirectory where it is not needed.
Thanks!
- The topic ‘BWPS adds rules to .htaccess in subdirectory rather than root’ is closed to new replies.