Indexed with sessions

Discussion in 'Search Engine Optimization' started by mgrohan, Jul 11, 2006.

  1. #1
    Hi, my website has been indexed by google but the majority of links have sessions? on the urls.

    e.g. the url's currently are indexed as
    mysite'surl.com/xxx.php?action=new&auth_sess=&ref=cb57ce5f01
    mysite'surl.com/xxx.php?company_id=3&auth_sess=05756766663e4f75d

    What can i do to remove or hide these sessions from googlebot spider? Thanks.
     
    mgrohan, Jul 11, 2006 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Find whoever wrote your cms script and sack them. Then hire somebody to do the job properly.

    If its an open source CMS then there will be a hack for it.
     
    mad4, Jul 12, 2006 IP
  3. mgrohan

    mgrohan Active Member

    Messages:
    671
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Thanks for the reply, but isn't there any easier solution. mod-rewrite or some other addition to the .htaccess file?
     
    mgrohan, Jul 12, 2006 IP
  4. hotpop

    hotpop Peon

    Messages:
    2,059
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hotpop, Jul 12, 2006 IP
  5. mgrohan

    mgrohan Active Member

    Messages:
    671
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Yes, this i understand i need to get rid of the sessions and have tried adding this code into my .htaccess

    # Fix for ?PHPSESSID in clean URLs
    php_value session.use_trans_sid 0
    php_value session.use_only_cookies 1

    Although my inner pages still come up with auth sessions on the url's.. (i guess this only works with phpsessis and not auth_sess ??)


    How would i go about replacing my sessions (auth_sess) with cookies?
     
    mgrohan, Jul 12, 2006 IP
  6. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Modify your CMS
     
    mad4, Jul 13, 2006 IP
  7. mgrohan

    mgrohan Active Member

    Messages:
    671
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    58
    #7
    umm the website is not a CMS
     
    mgrohan, Jul 13, 2006 IP
  8. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Well it clearly uses some kind of script that was written by somebody. The way they have written it is wrong and you need to employ somebody to redo the way it tracks user sessions.
     
    mad4, Jul 13, 2006 IP
  9. mgrohan

    mgrohan Active Member

    Messages:
    671
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    58
    #9
    I know this. The point is I would like to do this modification myself. Hoping someone could point me in the right direction of some information to enable me to do this myself.

    Of course i know i do not want it like this and it is not good, likewise yes i know parts of the script need to be change to correct it. Point is, i am looking to do it myself, but am asking for a little help.
     
    mgrohan, Jul 13, 2006 IP
  10. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I would love to be able to give you more help but without seeing exactly how your site works its impossible.
     
    mad4, Jul 13, 2006 IP