Is this $show['search_engine'] still reliable?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kimtan
    Member
    • Aug 2015
    • 31
    • 4.2.x

    Is this $show['search_engine'] still reliable?

    Hi, I just want to ask if this is still reliable located on init.php

    PHP Code:
    $show['search_engine'] = ($vbulletin->superglobal_size['_COOKIE'] == AND preg_match("#(google|msnbot|yahoo! slurp)#si"$_SERVER['HTTP_USER_AGENT'])); 
    We have google crawl and google still detect session variable and also on this 'nojs' variable.. It seems that this variable should not be detected in search engine right?

    on this condition

    PHP Code:
    $vbulletin->superglobal_size['_COOKIE'] == 
    I have the feeling this is the cause of the issue why google detected those variable.. It seems google crawl will set the cookie, if that happened then this $vbulletin->superglobal_size['_COOKIE'] value will not be zero anymore, right?

    Thanks,
    vBulletin Works --> HIRE ME
  • kimtan
    Member
    • Aug 2015
    • 31
    • 4.2.x

    #2
    Ahh I think it depends if there is a custom cookie declaration... IF there is a custom $_COOKIE declared then those variable will not work when search engine try to crawl the stie even I just declared something like $_COOKIE['test'] = 1 right?
    vBulletin Works --> HIRE ME

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...