Corrupting .htaccess file nightly
-
Hello, after the latest update on your plugin, every night the .htaccess file on my website is overwritten and corrupted by a typo. Here is the section with the typo:
# END Better WP Security s/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # BEGIN W3TC CDN
And what it should be when reverted from a backup:
# END Better WP Security RewriteOptions inherit Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # BEGIN W3TC CDN
I’m assuming this is something to do with Better WP Security overwriting the htaccess files with its own rules, and misplacing the existing lines regarding ms-files.php. Any ideas?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Corrupting .htaccess file nightly’ is closed to new replies.