Hey guys, I have a serious duplicate content penalty in google because my site shows the same page for both versions: /products/productname/ /products/productname I'm using wordpress as a CMS here.... I guess that has caused me some big problems after all... Can you tell me what I need to add to .htaccess to automatically remove the trailing slash if someone types it in?
I made a post in my blog a while back about how to do this in HTACESS, but i use Drupal - i'm sure it's the same (probably). You can read it here: Remove trailing slash just for god's sake, back up your HTACCESS before monkeying with it..
A good place to know about htaccess and urls is here : http://jannaud.fr/htaccess-clean-url-strip-slash, it gave me a good working solution about clean slug urls.