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

marcingy’s picture

Version: 7.x-dev » 8.x-dev

Bumping to d8.

mattyoung’s picture

I believe globaldirect does this for you.

jhedstrom’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Global redirect does indeed do this, and for 8, it has been merged into the Redirect module.