URL-shortener based on country

Discussion in 'Black Hat SEO' started by qlithe, Nov 14, 2013.

  1. qlithe

    qlithe Power Member

    Feb 14, 2012
    Likes Received:
    Are there any URL-shortener that can redirect people to different URLs depending on their country?

    Since all but my US traffic can participate in the offer the rest of my traffic will experience it as a "bad" link
  2. Bartholomew

    Bartholomew Regular Member

    Dec 31, 2009
    Likes Received:
    Home Page:
    Sorry for shameless self-promotion, but have a look on the script in my sig. It does what you need and much more.
  3. akacash

    akacash Jr. VIP Jr. VIP

    Jan 16, 2010
    Likes Received:
    The Beach, USA
    What you're looking for is a Geo-IP script. It can probably be done in a number of languages but PHP is the one I've seen the most of. There's a site called Maxmind that could help you quite a bit probably and offers a free database file to use. http://dev.maxmind.com/geoip/ is the link. I actually use the Geo-Lite free version and while it's not 100% accurate, it's pretty damn close. I've been nothing but satisfied with it, especially since it's free. lol. Check out Geo-IP scripts though and you can probably find one already done to go with that, or if you're capable you can write your own. As far as a URL shortener doing it for you, I'm not sure. I can't think of any off the top of my head as they would have to have to then have some sort of interface where you'd be able to plug in a different redirect URL depending on the country that visits it, I can't see anyone offering that for free.
    • Thanks Thanks x 1