/ Published in: Other
Expand |
Embed | Plain Text
# Strip trailing slash RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} ^(.+)/$ RewriteRule ^(.+)/$ /$1 [R=301,L]
You need to login to post a comment.
fyrebase on 01/14/11
1 person have marked this snippet as a favorite
# Strip trailing slash RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} ^(.+)/$ RewriteRule ^(.+)/$ /$1 [R=301,L]
You need to login to post a comment.