Page is a not externally linkable
- Google
-- Google SEO News and Discussion
---- Why am I seeing duplicate content with session id?


nmjudy - 12:16 am on Nov 25, 2008 (gmt 0)


It looks like the session ids may be being generated from a 3rd party social bookmarking script. I was able to use link:www.example.com/directory/index.html?PHPSESSID=d1df7a5b58659817c692854ed9c14ed6ý and found a couple of bookmarking scripts linking to my site through a user login screen.

I've copied and pasted how I interpreted what I'm supposed to change. I'm not sure if I was clear about the first set of redirects. Is this correct? Or do I need the query string code BEFORE the index redirect? Sorry...I'm "mod rewrite challenged".

Options +FollowSymlinks +Includes All -Indexes
RewriteEngine on
#
#
# Redirect requests for index.html in any directory to "/" in the same directory
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.+/)?index\.html\ HTTP
RewriteRule ^(.+/)?index\.html$ http://www.example.com/$1? [R=301,L]
#
RewriteCond %{QUERY_STRING} .
RewriteRule (.*) http://www.example.com/$1? [R=301,L]
#
# Redirect requests for resources in non-www domains to same resources in www domain
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
RewriteRule (.*) http://www.example.com/$1? [R=301,L]


Thread source:: http://www.webmasterworld.com/google/3793076.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com