Jump to content

.htaccess - Rewrite URLs error


Duken

Recommended Posts

Posted

hi,

I need to activate the Rewrite URLs option after the 4.1.8 migration.

I added to code 

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

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

to the .htaccess file on the root of my site. 

 

My .htaccess file looks like:

When i enable the rewrite URLs error i get 404 errors. 

Whats wrong in my .htaccess file?

 

Regards,

Duken.nl

www.duken.nl/forums/

Archived

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

  • Recently Browsing   0 members

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