2. Went into Google Webmaster tools and told it to crawl One representative URL for anything with ZENID.
3. Prior to the new website redesign going live.....I had my old coder block out Google access to ZENID=. That didn't seem to work either.
Just wondering if you guys could give me a tip on how to prevent Google from crawling logged in sessions. I would have thought that Webmaster Tools would have worked....but I just Googled a random product on my site and it was indexed with a ZENID= session ID as the URL.
Msg#: 4395009 posted 11:07 am on Dec 7, 2011 (gmt 0)
If you're store has a dedicated IP (or if you don't use an SSL or you do not use a shared SSL from the host), just force cookies from your admin->configuration->sessions. Set it to true.
Can you use the canonical tag as well?
Unfortunately it's not only a single search engine that can expose links with sessions. Just one session id exposed with the urls somewhere is enough to ruin the store. Forcing cookies on should fix this because the code ignores the session id from the /GET parameters.
Msg#: 4395009 posted 4:42 pm on Dec 7, 2011 (gmt 0)
Have you validated your robots.txt file? I know, that seems like a very basic question but is it possible that something is incorrect and causing Google to ignore the Disallow for the ?zenid parameter?
Msg#: 4395009 posted 4:50 pm on Dec 7, 2011 (gmt 0)
Yes, SSL for checkout and dedicated ip.
Ok then force cookies. The only thing to watch out for are the payment methods. There is an issue if you use callback handlers for the payment processors as they need to record an order verification and they don't sent cookies but they do /POST. But for the most it's not a problem. Also double check your cookie domains and cookie paths in your configure.php so they're setup correctly. You can easily verify this if the cart is still functional once you switch it to true. Just try to place an order.
Another thing you should verify is to follow the link google has in its index and check if you see the session to reappear anywhere with the links of your store as you browse few pages. With the stock code you won't see it I believe, but customizations is a different matter.