Anyone know how to create this kind of redirection?

Discussion in 'Black Hat SEO' started by promo123, Apr 30, 2010.

  1. promo123

    promo123 Newbie

    Joined:
    Nov 23, 2007
    Messages:
    25
    Likes Received:
    5
    I'm in the UK and I found this site and I like how they show a pop up when I visit it: hxxp://www[dot]kosherhibachi[dot]com

    Keep in mind, if you visit from a US IP then you probably won't see a pop up but I'm in the UK and I see a pop up asking me if I want to stay on the site or go to the "UK" version which is a redirection to another affiliate page.

    Anyone know how to show a popup when someone's outside the US (or whatever IP/country range)?

    I'm using Wordpress for my own sites so would like to incorporate this but not sure how. I can create the div/popup graphics and I assume they're using maxmind but how to incorporate it into a site/blog is a little over my head.

    Thanks
     
  2. lorand

    lorand Jr. VIP Jr. VIP

    Joined:
    Apr 26, 2010
    Messages:
    320
    Likes Received:
    53
    it can be made from .htaccess file
     
  3. MarketerX

    MarketerX Regular Member

    Joined:
    Mar 7, 2010
    Messages:
    404
    Likes Received:
    121
    Hi,think this is what your looking for bud...it's a phpscript

    Code:
    http://www.ip2country.net/geo-targeting/geo-targeting.html
    From the site:

    What Is Target Country by IP Address?

    Traffic is the basis for the success of any web site,Targeting Web site content to the specific visitors who view the site is a very important marketing advantage.Target Country by IP Address is a PHP script to use with your web site for detecting a user by geographic location and directing them through the most relevant pages of yours or your sponsors web sites.
    [FONT=Arial, Helvetica, sans-serif]What it does?[/FONT]
    Manage your incoming traffic with Target Country by IP Address.With this IP based Geo-Tracking package,you can easily manage and redirect/restriction your incoming traffic to optimize your profit potential.It is useful to redirect a visitor to different default web page based on the visitor's country of origin.You can specify for each country (or IP database) has a Redirection Rule. and you can create as many "redirection rules" as you want. On the same website, some pages could have different redirection rules than the others. ​
     
  4. promo123

    promo123 Newbie

    Joined:
    Nov 23, 2007
    Messages:
    25
    Likes Received:
    5
    Thanks MarketerX

    I think I came across that site before actually but couldn't remember where I'd seen it. I'll give it a try

    cheers buddy
     
  5. MarketerX

    MarketerX Regular Member

    Joined:
    Mar 7, 2010
    Messages:
    404
    Likes Received:
    121
    No problem, google is your friend :D

    But, let me know if it works as I have never tested this script but it sure does seem handy if your dealing with traffic from different countries.