Jump to content

URL Rewrite


C M F

Recommended Posts

Hi,

I've migrated my forum to a new server and took the opportunity to move the forum from a subdomain and place it at the top level.  I have introduced the ".htaccess mod_rewrite" provided by IPS (as below) which is working a treat, however search engine results are returning an error, and from what I can see in the URL, I need to remote /index.php from the result.

Can anyone offer assistance as I have zero idea what I am doing here!

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

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

 

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...