How to direct traffic from a specific country to a certain page.

by Shift
14 replies
Hello.

How can I direct all traffic from a specific country to a certain page?

I know for instance that certain CPA offers direct people from different countries to different pages.

I won't be using this for CPA but to direct users from South Africa to an opt-in page.

How do I do this?
Thanks a lot.

PS : I read about a .htaccess file one can create to block an IP so maybe my answer lies in .htaccess?

Use this
=================
order allow,deny
deny from 000.00.0.0
allow from all
#country #direct #page #specific #traffic
  • Profile picture of the author Nate23
    Not sure if you use Google Adwords, but you can advertise by region, country, zip code, radius, etc...

    May be what you are looking for. I would do a little adword research before jumping in head first though unless you have unlimited funds. : )

    Best of luck!
    {{ DiscussionBoard.errors[1160954].message }}
    • Profile picture of the author Shift
      I do use PPC but not for the country that I want re-directed to an opt-in page.

      I want to re-direct users who get there from organic search to an opt-in page.
      {{ DiscussionBoard.errors[1162181].message }}
  • Profile picture of the author zuluranger
    Where is the traffic coming from? PPC, Organic search?
    {{ DiscussionBoard.errors[1160974].message }}
  • Profile picture of the author Shift
    How do I find out what a countries entire IP range is?
    Is this the method they use for CPA offers? (even though I'm not promoting cpa).

    Isn't it possible to just look for something in the domain (like .uk) and redirect based on that?
    {{ DiscussionBoard.errors[1162239].message }}
  • Profile picture of the author Jack Mcdougall
    Why not build specific country keyword related content on your site and get the pages to rank high in the search engines. This will draw the relevant "country" people to you.
    {{ DiscussionBoard.errors[1162295].message }}
  • Profile picture of the author Shift
    I appreciate the replies but this is what's going on -

    I get organic traffic from a specific country but I want to direct those users to an opt-in page.

    Does anyone know if it's possible to write a simple script that checks the ip of the visitor and if it has a certain string/keyword in it to direct it to a specific page?
    {{ DiscussionBoard.errors[1162345].message }}
  • Profile picture of the author Shift
    Thanks for the suggestion I'll have a look at that to use for blog pages.

    Is there another solution for non-wordress pages (usual html pages).
    {{ DiscussionBoard.errors[1163014].message }}
  • Profile picture of the author Shift
    Thanks for the suggestion I'll have a look at that to use for blog pages.

    Is there another solution for non-wordress pages (usual html pages).
    {{ DiscussionBoard.errors[1163018].message }}
  • Profile picture of the author Amenda Jessera
    Go to facebook
    Add friends from that particular country. Update your profile with link to your site,
    Daily update your link there and share some good thoughts - related to your site.

    Go to twitter
    Add friends from that particular country
    Add tweets

    If you look traffic from UK, get backlinks from .uk, if you look traffic from India, get backlinks from .in domain... likewise, you can get backlinks - That will help you to rock on local google search.

    That will give you more visitors from particular country.
    {{ DiscussionBoard.errors[1163034].message }}
  • Profile picture of the author Shift
    Actually I'm not looking for country specific traffic (I'm already getting it from organic search), I'm wanting to direct certain country specific traffic to a specific page.
    {{ DiscussionBoard.errors[1163054].message }}
  • Profile picture of the author The Pension Guy
    It might require some investment and some coding skills but this article gives you a very good guide of how to do it:
    Article - Redirect Web Visitors By Country Using PHP and MYSQL
    (not affil)
    Signature

    {{ DiscussionBoard.errors[1163085].message }}
  • Profile picture of the author corporation
    You have to:
    a) search the IP ranges that you want to redirect, than make an htacess file (that is s implte text file renamed to .htaccess ;-) ) with the following syntax:

    RewriteCond %{REMOTE_ADDR} ^64\.126\.81\.30$ [OR]
    RewriteCond %{REMOTE_ADDR} ^75\.117\.244\.27$
    RewriteRule .* http://www.mysite.com/europe.htm [R,L]

    (edit the ranges and the site/page and do not add the [OR] on the last line of IPs)

    Ciao
    Enrico
    {{ DiscussionBoard.errors[1163112].message }}
  • Profile picture of the author Nigel Greaves
    Here you go Shift this should get you started - htaccess IP address. You can find the country IP codes to use that will suit your particular requirements.

    Hope it's of some use.

    Nigel
    {{ DiscussionBoard.errors[1163117].message }}
  • Profile picture of the author Shift
    I found this link that gives the ranges for each country
    http://www.ipaddresslocation.org/ip_...get_ranges.php

    So the easiest is probably to use this data in a .htaccess file.

    Thanks.
    {{ DiscussionBoard.errors[1163279].message }}

Trending Topics