Jump to content

404 Errors When Enabling Rewrite URLs


davpurc

Recommended Posts

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. 

 

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...