Forum Moderators: Robert Charlton & goodroi
The only way you can really get dynamic pages on our site is by blocking cookies which displays URLs with added on PHP session ID:
http://www.example.com/productpage.php?cat=1&catid=&level=2&subcatid=129&id=15594&nav=B&PHPSESSID=764f891b9a8a3e01dfba6da28668bfe7
Some of the dynamic URLs in Google results have this session ID but some are just our normal dynamic links. I'm wondering how and why Google is spidering our site this way when we have done a mod rewrite and would like Google to index our rewritten pages and not dynamic ones.
We're making a site map to submit to Google so hopefully that will help. I'm just worried that the reason that not all our site is being indexed is due to Google's spidering our site as dynamic. Any ideas as to why this might be happening?
<Sorry, no personal URLs or specifics.
See Terms of Service [webmasterworld.com]>
[edited by: tedster at 5:05 am (utc) on April 22, 2006]
1 - Make sure mod_rewrite is working EXACTLY the way you want it to work.
2 - Redirect anything that looked like an old URL to the new URLs. If everything was done correctly, then you can normally stop here. Now is the time to pause and make sure indexing is proceeding the way you want it to (that is, all the important spiders are doing what you want them to do.
3 - Block the old URLs via Robots.txt.
good luck...