Page is a not externally linkable
- Google
-- Google AdSense
---- Adsense on password protected pages


renee - 11:13 pm on May 17, 2005 (gmt 0)


it sounds that anybody (mediapartner bot included) that has not accessed your page gets redirected to your homepage.

if you have php, do the following:

<?
if(robot())
{
// proceed as though the visitor (bot) is already logged in
}
else
{
// proceed as you're doing today
}
function robot()
{
global $HTTP_USER_AGENT, $REMOTE_ADDR;
if(stristr($HTTP_USER_AGENT),"mediapartners-google") return true;
// you may want to allow other robots like googlebot, yahoo, msn so your forum pages get indexed.
}
?>
in the robot check you may also want to check the remote address in addition to the user-agent. this will prevent spoofers from getting in

good luck


Thread source:: http://www.webmasterworld.com/google_adsense/6718.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com