Canonical - Strips Trailing Slashs

Canonical - Strips Trailing Slashs
Author: Owen
Added: Sunday, 08 Dec, 2013
Category: htaccess

Code

RewriteCond %{REQUEST_FILENAME} !-d<br />	
# Externally redirect to remove trailing slash<br />
						RewriteRule ^(.+)/$ /$1 [R=301,L]<br />

Comments