Page is a not externally linkable
agneslesage - 10:27 am on Aug 11, 2010 (gmt 0)
Hi
Yes, I need to keep Adwords ?glcid parameters as well as some Analytics ?utm_sthgs parameters on most URL
Using a RewriteCond negative I dont know...
But I dont really care if other parameters are kept as well, it does not matter.
On the other hand, I wrote:
# Redirect direct client requests for URL-path /index.php to / and for /folder/index.php to /folder/
# Likewise for default.php direct requests in root or in folder,
# and force www and strip parameters at same time, to avoid duplicate content.
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*(index|default)\.(php|html?|asp)([?#][^\ ]*)?\ HTTP/
RewriteRule ^(([^/]+/)*)(index|default)\.(php|html?|asp)$ http://www.atable.com/$1? [R=301,L]
And still, when I type:
http://www.atable.com/traiteur/coffrets-repas/index.php?utm_source=test
The page comes up without rewriting...
Agnes