View Single Post
Old 04-10-2009, 08:03 PM  
Juggernaut
Confirmed User
 
Join Date: Jan 2003
Location: Brisbane, Australia
Posts: 753
Even people like myspace have this very same problem, you're not alone.

Code:
RewriteEngine On 

RewriteCond %{REQUEST_URI} ^/[^\.]+[^/]$ 
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [R=301,L]

This makes the slash always appear and redirects to the slash version without.
Juggernaut is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote