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?
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.
Do I add this to every template? I mean my google links follow the user throughout the site. Where should I add this?
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.
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!
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????