.htaccess Changes Causing 404 Errors
-
Occasionally, Better WP Security’s rewrite of my .htaccess file eliminates the Mod_rewrite section (pasted in below). The removal of this section breaks all my Categories links, which breaks my menu and essentially brings the whole site down. I’m getting tired of having to check for it every day.
I see a section on my Better WP Security dashboard labeled “Rewrite Rules” for .htaccess but it’s view-only. How can I edit the “Rewrite Rules” to include this WP block, so it will never again be eliminated by Better WP Security’s changes to .htaccess?
– – – – –
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# End WordPress
The topic ‘.htaccess Changes Causing 404 Errors’ is closed to new replies.