Session ID's in your url

Discussion in 'Search Engine Optimization' started by TheWebJunkie, Mar 10, 2005.

  1. #1
    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 ?
     
    TheWebJunkie, Mar 10, 2005 IP
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #2
    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.
     
    T0PS3O, Mar 10, 2005 IP
  3. TheWebJunkie

    TheWebJunkie Banned

    Messages:
    630
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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 :D

    I dont suppose you know how to fix it do you ?
     
    TheWebJunkie, Mar 10, 2005 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Instead of using session_register('iwhatever');

    Store the id in a cookie. Search for 'SID Killer' etc. to get some example code.
     
    T0PS3O, Mar 10, 2005 IP
  5. TheWebJunkie

    TheWebJunkie Banned

    Messages:
    630
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #5

    Heheh im confused already i know nothing about php :(
     
    TheWebJunkie, Mar 10, 2005 IP
  6. skanxalot

    skanxalot Peon

    Messages:
    111
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    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!!?
     
    skanxalot, Mar 10, 2005 IP
  7. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #7
    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).
     
    T0PS3O, Mar 10, 2005 IP
  8. Juls

    Juls Well-Known Member

    Messages:
    1,867
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    170
    #8
    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.
     
    Juls, Mar 10, 2005 IP
  9. GTech

    GTech Rob Jones for President!

    Messages:
    15,836
    Likes Received:
    571
    Best Answers:
    0
    Trophy Points:
    0
    #9
    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):
     
    GTech, Mar 10, 2005 IP
  10. ohcnetwork

    ohcnetwork Peon

    Messages:
    247
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #10
    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?
     
    ohcnetwork, Mar 12, 2005 IP