Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Can I prevent google from some content with cookies?

4:03 pm on Jul 27, 2010 (gmt 0)

New User

5+ Year Member

joined:July 22, 2010
posts: 3
votes: 0

I have a new website with google adwords campaign.
The website is totally legitimate, but I want to add a link to some other websites which google doesn't allow.
I have a page with the links to the non legit websites and I want to only transfer people with a cookie.
To get to this page, the user will have to click on a button, and if he has a cookie he will see that page.
otherwise he will be declined and stay on the home page.

Does this fall under cloaking?
Will google send this to a human review?
6:47 pm on July 27, 2010 (gmt 0)

System Operator from US 

incredibill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 25, 2005
votes: 99

I wouldn't add links to non-legit websites in the first place.

Web crawlers like Googlebot use cookies so that's not enough to keep a crawler out, you would have to forbid it to crawl that page by blocking it in robots.txt and possibly adding a meta NOINDEX, which still doesn't stop them all the time.

The best solution is to physically block access to that page in your .htaccess file but Google has many bots and if you allow any to hit that page, it's all over with.

Hey, if you get penalized don't say you weren't warned.
10:57 am on July 29, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:July 8, 2010
votes: 0

other possibility:
put a js file in your robots.txt as Disallowed
in that js file have a cookie written.

Check for that cookie before transfering to the non-legit site.

Or what I also do sometimes:

Just create an empty link (#) and give it some ID.
Then use a disallowed jquery js to rewrite that link to the one you want your users to be able to click.

Only with js enabled, AND access to a disallowed js file you will be able to click the link.
7:03 am on Aug 2, 2010 (gmt 0)

New User

10+ Year Member

joined:Sept 8, 2006
votes: 0

thats nice way out suggested by @lostdreamer.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members