Hi everyone, Does anyone knows why in the same website some pages are displayed with the final slash and some others without? See the following example: www.example.com/page-one/ www.example.com/page-two Thanks!
You can read this blog post: http://googlewebmastercentral.blogspot.in/2010/04/to-slash-or-not-to-slash.html
you can try this : RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} (.*)$ RewriteRule ^(.+)/$ http://www.domain.com/$1 [R=301,L] Code (markup):
To slash or not to slash? http://stackoverflow.com/questions/2743849/url-structure-preference-to-slash-or-not-to-slash or http://stackoverflow.com/questions/2743849/url-structure-preference-to-slash-or-not-to-slash