+ Reply to Thread
Page 1 of 3
1 2 3 LastLast
Results 1 to 3 of 9

Thread: removing session ID for Googlebot ?

  1. #1
    tiendung619299
    Guest

    removing session ID for Googlebot ?

    300.000 Free softwares download here

    php Code:

    if($_SERVER['HTTP_USER_AGENT'] != 'Googlebot'){
    * * session_start();
    * * }

    Would this do the trick ?
    More Information:
    1. The only exception I would add to Chris' comment above is to make sure you remove the session id from your url
    2. 3 posts - 2 authors - Last post: Jun 2, 2008As objects of this class "represent a session" (javadoc), it seems that I had 116
    3. 2) authorizing by cookies - (i leave it to the PHP session manager for the cookie authentication)
    4. Session ids are a definite way to make your site invisible
    5. If it is a human with a browser, generate a session id

  2. #2
    moneyisall91
    Guest

    I don't do any sites that do sessions with php, but I'd assume you have to use a regular expression instead of just 'GoogleBot' because they have different version numbers and the "new" one right?



    something like !~ /googlebot/i



    Just an idea.
    More Information:
    1. Now I want to send all my session to my editor via internet
    2. The Session timed out error is an issue I have come across once or twice but haven't managed to recreate
    3. The last SEO tip was about removing unused meta tags from your site
    4. Word still hasn't yet gotten around to webmasters at some major corporation about the real damage session ids can do to a ranking
    5. 3 posts - 2 authorsAnd session logs several months old are not interesting
    6. I've tried all the above suggestions; deleting the active sessions has no effect, the sessionTimeout variable is non-zero, and
    7. 3 posts - 2 authors - Last post: Sep 11, 2006Hi guys,I have got a website that relies on session variables to store information
    8. Before I set the filter to strip the session id out of the url, I tried to remove URL's using webmaster tools but the requests were denied
    9. Seems that removing them from view is a good idea, particularly since J2EE session vars are being used
    10. If the browser does not have cookies enabled (eg Googlebot), then the session id won't move to the URL

  3. #3
    ts3
    Guest

    I think preg_match is what you would use in php, (I'm a perl coder not php)



    edit: try this?


    Code:

    if(preg_match("/googlebot/i", $_SERVER['HTTP_USER_AGENT']) != 1){
    session_start();
    }

    More Information:
    1. This is different from IE6, where there doesn't seem to be any way of removing session cookies
    2. File Format: WAP WML - View as HTMLIn the Robot list, click Googlebot
    3. Don't use a parameter named “id=” in a URL for anything other than a session ID
    4. If Googlebot requests a page in our store directly it does not have
    5. 1 post - Last post: Feb 25, 2009How to disable Google bot indexing with session based crawling?For example if anybody join to my site, my site makes a session id and creates an english language cookie
    6. I need to prevent Googlebot from indexing product pages without session id data
    7. Googlebot's is "Googlebot", and the other search engines use a similar sort of thing

+ Reply to Thread
Page 1 of 3
1 2 3 LastLast

Similar Threads

  1. Question about Googlebot and getting spidered
    Ok, Most of my sites are getting visited by googlebot daily but does anybody knows why googlebot sometimes crawles 300.000 Bytes and in other...
  2. Session IDs in URL
    The script I'm using attaches session IDs to my site URLs. Does this affect the search engine readability of my site, and will it reduce the chance...
  3. Getting googlebot on my forum
    Hi im wondering how to get google on my forum more often can any one help me out please thanx
  4. Googlebot visits but still not many pages
    I have a site that was launched in late June in the usual manner that I do it with a few well placed links on some other well indexed sites and then...
  5. GoogleBot Slams My Site
    Googlebot came though my site eating up 3.12 Gigs worth of badwith. OMG I better do some directory blocking before they come back and eat up...

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish