404 errors caused by plugin ‘rewrite’ rules
-
I was suddenly getting 404 errors for almost all pages on the website I’m building (homepage excluded).
I couldn’t figure it out so I asked my host and it turned out not to be hosting related but they identified the following:
“The issue was because of the below code:
#Begin Really Simple Security
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>I’ve commented these out and the pages are loading”.
Obviously I want to get the issue fixed at the source, and have the plugin working. Leaving it commented out is not the solution,
I’d appreciate guidance in resolving this matter.,
The page I need help with: [log in to see the link]
The topic ‘404 errors caused by plugin ‘rewrite’ rules’ is closed to new replies.