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

[Help] IP based redirection

Discussion in 'Cloaking and Content Generators' started by sikandar, Jan 7, 2009.

  1. sikandar

    sikandar Senior Member

    Joined:
    Mar 15, 2008
    Messages:
    1,136
    Likes Received:
    1,028
    I have noticed in many casino sites, the site visitors get diverted to country specific pages depending on their IP address.

    I have two questions in this regard.

    1. Is this kind of IP based redirection frowned upon by search engines?

    2. Are there any good scripts to achieve this?

    Thanks for your comments.
     
  2. drkenneth

    drkenneth Executive VIP

    Joined:
    Nov 13, 2008
    Messages:
    285
    Likes Received:
    176
    Occupation:
    Developer/Entrepreneur
    Location:
    USA
  3. nonchessguy

    nonchessguy Registered Member

    Joined:
    Nov 2, 2008
    Messages:
    62
    Likes Received:
    24
  4. cooooookies

    cooooookies Senior Member

    Joined:
    Oct 6, 2008
    Messages:
    1,008
    Likes Received:
    216
    sikandar,

    what you actually want to do is kind of cloaking but you do not only distinguish human visitors and bots but to go a little more complicated. If the search engine is always shown the same content and only human visitors are redirected to different sites, there should be no problem until a human revision takes place.

    You need 2 databases for that:
    IP geolocation database
    searchbot database (e.g. fantomaster.com or free available... but... more risk)

    best thing in your case is that you write your own script, I don't think there is a script that deals with both things - geolocation and cloaking. Actually it is quite simple to archive that, check $_SERVER['REMOTE_ADDR] for the IP, decide if it is a bot or not, and redirect with php-redirect