Jump to content

404 Errors When Enabling Rewrite URLs

Featured Replies

Posted

Hi Everyone, 

I am attempting to enable the option to Rewite URLs in the admin cp, but when I do I get 404 errors on all of my pages. I have downloaded the htaccess file and have uploaded it into the directory /forums/ as that is where my forums reside. 

I am using the following htaccess code:

<IfModule mod_rewrite.c>
RewriteEngine On
Options -MultiViews
RewriteBase /forums/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /forums/404error.php [L,NC]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /forums/index.php [L]
</IfModule>

I use rewrite in my wordpress root directory without any issues, so I don't believe it is a server configuration issue. if anyone has any ideas to get this working, I'd appreciate it. 

 

Have you renamed the file to .htaccess?

  • Author

lol, that was it. Thanks. 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.