Canonical - Strips Trailing Slashs

Apache

Canonical - Strips Trailing Slashs

Code

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