Article
Posted on 11th November 2010
Takes about 1 min to read

So, it's perfectly valid to visit a site using a URL like: http://www.google.co.uk/////////// But some pesky SEO types will complain that the site is accessible at two URLs and that you need do a 301 redirect to the canonical URL (http://www.google.co.uk/). What you want to do is remove the trailing slashes using mod rewrite. If you really need to do this, then you can just pop the following in the .htaccess file that Drupal provides...

Published in: #Drupal Planet #htaccess #seo