Forums Register Login

Java Sessions and SEO

+Pie Number of slices to send: Send
Hi All,

I am having trouble getting Google to list the dynamic pages on my site. Im aware of the problems of using dynamic pages with regards to stop characters but Google is supposed (and does) list dynamic pages with a limited amount of these characters.

I have read that search engines cant work with cookies, so I was wandering if the real problem is not that google wont index my pages becuase they are using dynamic url's but instead that the spider encounters an exception because the pages use java session objects (which use cookies under the bonnet).

I have turned off cookies in the browser, and sure enough the browser throws an exception.

Can anyone tell me, am I on the right track here? And if I am is there a way round this or do I just need to revert back to url rewriting?

Any help greatly appreciated!!

Regards

Kev
+Pie Number of slices to send: Send
Yeah, I'm guessing the spider isn't going to go there if they don't use cookies. I don't know much about what the spiders do or don't do, but they *could* use cookies if their programmers wanted them to (they could just start using the Apache Commons HttpClient or write that stuff themselves). However, if they don't bother, then I don't see how they're going to get around your site.
+Pie Number of slices to send: Send
Thanks,

I've been speaking to one of my collegues and apparently if I use encodeRedirectURL(String url) this will sort out the problem by replacing cookies with url rewriting where cookies are disabled.

Gona give it a try and see how it goes over the weekend

Kev

Whatever. Here's a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 831 times.
Similar Threads
Servlets-4b cookie question
jsessionid and searchbots
URLConnection class
Session Tracking with HttpSession
HttpSession when cookies are disabled
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 00:05:23.