View Single Post
  #1  
Old 03-26-2006, 05:19 AM
danielle danielle is offline
OSP Starters
 
Join Date: Mar 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
danielle is on a distinguished road
Thumbs down stop indexing PHP SESSION IDs

hi folks
please help
Several years ago, one of my company's sites was re-designed and the programmer used PHP Session Id's extensively.
This caused some immediate problems as it appears that when Yahoo and some other search engines visit the site they are seeing the different session ID's as duplicate content pages and accordingly are not ranking them well. It sure is affecting some of our rankings.
We have removed all of the session ID code that we could find, but Yahoo and other search engines are still following their old links in the their databases when they crawl the site.
I have heard that a script can be added to the HTACCESS file to check to see if the Session ID is in the URL, and if it is, do a permanent 301 redirect to the same page, but without the Session ID. The thing is, I have no clue if this really works, or how to do it.

help will be appreciated -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - stop indexing PHP SESSION IDs
View Single Post
  #1  
Old 03-26-2006, 05:19 AM
danielle danielle is offline
OSP Starters
 
Join Date: Mar 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
danielle is on a distinguished road
Thumbs down stop indexing PHP SESSION IDs

hi folks
please help
Several years ago, one of my company's sites was re-designed and the programmer used PHP Session Id's extensively.
This caused some immediate problems as it appears that when Yahoo and some other search engines visit the site they are seeing the different session ID's as duplicate content pages and accordingly are not ranking them well. It sure is affecting some of our rankings.
We have removed all of the session ID code that we could find, but Yahoo and other search engines are still following their old links in the their databases when they crawl the site.
I have heard that a script can be added to the HTACCESS file to check to see if the Session ID is in the URL, and if it is, do a permanent 301 redirect to the same page, but without the Session ID. The thing is, I have no clue if this really works, or how to do it.

help will be appreciated -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote