Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Good Advice

Good advice about cloaking...

9:41 pm on May 2, 2004 (gmt 0)

New User

10+ Year Member

joined:Mar 4, 2003
votes: 0

I'm not asking anyone to give product reviews here on the post, but could some of you offer me some good advice on cloaking?

I'm trying to figure out how to do it right. I've read more hours than I want to admit and thought I would just ask for some good advice, like what scripts, how to do them, I haven't got a clue.

Thanks in advance. ; )

[edited by: DaveAtIFG at 10:58 pm (utc) on May 2, 2004]

11:15 pm on May 2, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 21, 1999
votes: 0

You can get a clue about the basics here [webmasterworld.com]. :)

What script you choose will depend in part on how/where you intend to use it. The ODP [dmoz.org] is a good starting point for comparison shopping.

I think the key to successful cloaking is keeping your IP list absolutely fresh. It should be quick and simple to update your list/script. Subscribing to or building an "up to the minute list" is an important part of all of this. Others may have different priorities.

11:43 pm on May 2, 2004 (gmt 0)

New User

10+ Year Member

joined:Mar 4, 2003
votes: 0

OK, thanks I read the primer for cloaking. Now one more question - is there a resource somewhere online that maybe gives a tutorial on how to do your own cloaking scripts?

I looked at the ODP products, but I would like to learn more of how to do it.


12:09 am on May 3, 2004 (gmt 0)


WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
votes: 0

The primer actually explains how it works just not the actual code.

As far as actual code goes I can explain again the logic of it, how to actually do it will depend on the language you choose.

The first thing for cloaking is to have a reason that you want to show someone different content than they are requesting. This also includes specific information based on who the user is.

The example used in the primer is language specific content based on browser language settings. You could also have country specific content which you would like to serve to users identifiable to a certain country of residence.

We need to figure out what information will identify these people as needing specific content. The two scenarios have similar testing params

1. for language you need to test the browser for a language setting and respond accordingly
2. you would need to get the ip and attribute it to a certain country

steps would be something like

1. You get the info you are testing for from the user
2. compare info with the options you have stored (db probably)
3. get content intende for this type of user or send default
4. serve the page

It isn't really tough but it all depends on what you are cloaking for. There are also other types of users you can target with specific content obviously but the general scenario remains the same.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members