Send Users to another Website

pillepalle

Newbie
Joined
Apr 8, 2009
Messages
16
Reaction score
1
Hi,

I want to upload a big website with a lot of content. All Search Engine Visiitors should be redirected to another website while all crawlers /bots should spider and index my site. (I twould be great if there would be a feature like -> User is getting redirected after 2 clicks on the site and not after they enter the site).

Is there a quick and easy script to do that?
 
Here is a quick pice of javascript that will redirect your users based on refer, such as google.com:

HTML:
<script type="text/javascript">if (document.referrer = "google.com") {   var referringURL = document.referrer;   var local = referringURL.substring(referringURL.indexOf("?"), referringURL.length);   location.href = "http://some-website.com/"; }</script>

Just change "some-website.com" to what where ever you want traffic to go.
 
Well, this script is not sufficient since:
1. Google sometimes blanks the referrer
2. Google can read JS - so the code will be visible to them
 
Back
Top