Adsense spider viewing site....

Discussion in 'AdSense' started by EaglezEye, Feb 13, 2007.

  1. #1
    Ok so on my forums I have limited unregistered users to 2 views before a warning asking to register and 5 views before it blocks access completely. I just started noticing today that google adsense is actually searching my forums and other pages. I also noticed the icon next to the name representing that it is viewing the warning and earlier I noticed the stop message was being viewed.

    Is this a problem? I was rejected my first application a month ago because I forogt to unblock unregistered guest. Anyone know if this will be a problem?

    Suggestions?
     
    EaglezEye, Feb 13, 2007 IP
  2. Cryogenius

    Cryogenius Peon

    Messages:
    1,280
    Likes Received:
    118
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I suggest that you detect when the Adsense is visiting, and supress the warning and stop message. In PHP you would use something like this:

    if (strpos($_SERVER["HTTP_USER_AGENT"], 'Mediapartners-Google') !== FALSE)
    PHP:
    For other search engine bots, make sure that your warning and stop pages include the meta robots tag "noindex,nocache".

    Cryo.
     
    Cryogenius, Feb 14, 2007 IP
  3. EaglezEye

    EaglezEye Active Member

    Messages:
    145
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    85
    #3
    Do I add this to every template? I mean my google links follow the user throughout the site. Where should I add this?
     
    EaglezEye, Feb 14, 2007 IP
  4. Cryogenius

    Cryogenius Peon

    Messages:
    1,280
    Likes Received:
    118
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Put this where ever you check for if the warning or stop message needs to be shown. I don't know how you system works, so I can't be any more specific.
     
    Cryogenius, Feb 15, 2007 IP
  5. Mwb2k

    Mwb2k Peon

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I wouldn't put the above php code everywhere where you check for the warning/stop message, but I would create a function where some checks are perfomed (such as the check above) and call this function instead!

    The advantage is that when you also want to allow yahoo/msn/other to freely view your site, you only have to change one function instead of multiple statements!
     
    Mwb2k, Feb 15, 2007 IP
  6. EaglezEye

    EaglezEye Active Member

    Messages:
    145
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    85
    #6
    Something else I noticed. The adsense spider seems to be able to partially view messages that restricted for his usergroup. Often when I look at "who is online" I see the spider viewing an admin forum thread. He has a stop sign next to the thread but I still have no idea how he would be able to see this thread posted.

    I logged as unregistered and I can't view the said thread. Any ideas????
     
    EaglezEye, Feb 15, 2007 IP