How to stop .htaccess modification?
-
Hello, the plugin works fine. There is one niggling problem that I would like to get rid of. The plugin adds the following entry to my .htaccess file:
# BEGIN MainWP # The directives (lines) between <code>BEGIN MainWP</code> and <code>END MainWP</code> are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. # END MainWP
I usually have my .htaccess permissions set to read only, but sometimes I make edits and leave it writable – thats when MainWP likes to insert that code.
I don’t want ANY plugins writing to my .htaccess as I view it as a security vulnerability.
Please can you post the code that I could add to functions, so that my .htaccess is not touched? Thankyou.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to stop .htaccess modification?’ is closed to new replies.