Welcome to WebmasterWorld Guest from 54.226.130.194

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

Adsense on password protected pages

now allowed?

     

petra

10:14 pm on May 13, 2005 (gmt 0)

10+ Year Member



I just re-visited the T&C's and couldn't find the rule that prohibits adsense on password protected pages. Is it still there?

jchampliaud

2:35 pm on May 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Good question, I couldn't find it either and there have been a few people here asking about this. Maybe the AdSense Adviser could answer it.

Prolific

3:33 pm on May 14, 2005 (gmt 0)

10+ Year Member



Its possible. You need to talk to google to get it working though. I've worked with some high profile online games that require passwords, google was willing but the traffic was also very high. Give google an email and see what they can do for you.

renee

7:09 pm on May 14, 2005 (gmt 0)

10+ Year Member



all you need is to detect the mediapartner bot and allow it to crawl your site/pages without having to login!

joeventura

3:51 pm on May 17, 2005 (gmt 0)

10+ Year Member



Yes well if anyone knows how to do this I would appreciate the info PLEASE!

joeventura

5:29 pm on May 17, 2005 (gmt 0)

10+ Year Member



I would happily change hosting services to find a way around this.

joeventura

9:44 pm on May 17, 2005 (gmt 0)

10+ Year Member



I decided to try and put an ad on my password protected page, and it worked.

It seems that it was more relevant to my home page then the page behind the password protection.

renee

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

10+ Year Member



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

Gorilla

11:33 pm on May 17, 2005 (gmt 0)

10+ Year Member



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

You should primarily check on address. This is why you should discuss this with Goolge, to make sure you are checking on the right addresses. User agent string can be spoofed and should be considerd as for information only.