I can't take credit for this but I found it to be useful and should be part of core .htaccess file.
#get rid of trailing slashes
RewriteCond %{HTTP_HOST} ^(www\.)?(.*)$ [NC]
RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L]
modified from:
http://blamcast.net/articles/drupal-seo
SO:
http://www.mysite.com/news/ would redirect to http://www.mysite.com/news
before doing this both pages would appear in search index.
Comments
Comment #1
marcingy commentedBumping to d8.
Comment #2
mattyoung commentedI believe globaldirect does this for you.
Comment #3
jhedstromGlobal redirect does indeed do this, and for 8, it has been merged into the Redirect module.