1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Send Users to another Website

Discussion in 'Cloaking and Content Generators' started by pillepalle, Apr 30, 2013.

  1. pillepalle

    pillepalle Newbie

    Joined:
    Apr 8, 2009
    Messages:
    14
    Likes Received:
    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?
     
    • Thanks Thanks x 1
  2. makemecash

    makemecash Regular Member

    Joined:
    Mar 16, 2012
    Messages:
    279
    Likes Received:
    303
    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.
     
    • Thanks Thanks x 1
  3. mrblackjack

    mrblackjack Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 6, 2011
    Messages:
    960
    Likes Received:
    553
    Occupation:
    I live alone, I work alone, I make money alone
    Location:
    G00gle LaNd
    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