Sunday, June 29, 2008

Trailing Slash problem:

Put this in .htaccess in your document root (given example is for my site of course, replace the server name with yours)

Code:
--------------------------------------------------
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ http://servername/$1/ [R]
--------------------------------------------------

No comments: