Hey all another problem with my site, someone told me this "but session ID's in your URL's is going to kill your SERPS!" Could someone explain what they are talking about, and could anyone help me fix it ?
Spiders are scared of urls with productid=1&sessionis=j4g325gjh45vj43h5vh4325vjh4v12jh5bjh4325bjh4325b1 or similar. You'll have to store this identifier in a cookie to make things work.
Ahh i wonder why there scared lol thoe urls are well long anyway thanks for that info, i learn something new all the time here I dont suppose you know how to fix it do you ?
Instead of using session_register('iwhatever'); Store the id in a cookie. Search for 'SID Killer' etc. to get some example code.
This topic always gets me... Besides the fact that search engine spiders don't usually crawl a URL with a SID, even if they did it would work against the webmaster. Think about, if the crawler can initiate and sustain a session, then that SID will be in the SERPs, and consequently, every user coming in through SEs will have that SID. Doesn't that just negate the whole point of session IDs, anyway!!?
Yes, that's part of the issue. A Session ID is a unique identifier for that sole session and for that unique user. It should never become public. It's a security risk when ID's get crawled (IF they get crawled - most crawlers happily skip your pages).
With php you can still register the session but you just dont need to show them. I cant remember off hand but you can make it not use the SIDs in the url.
Depending on the use of your session ids, you might not need them. If you are on an apache server, you can put a php.ini file in the root folder of your website. Filename: php.ini Contents: url_rewriter.tags = "" session.use_trans_sid = 0 session.use_cookies = 1 session.use_only_cookies = 1 Code (markup):
Many application put session id, but the thing is that it's what these applications do in addition to creating pages and what have you. Let me ask you this. If you're telling us that you don't know php, I have to assume that you are using one of free or commercial php applications. If not, your application is written by someone else. What php application are you using?