Geoip redirecting script

5 replies
Guys, i'm looking for a geo redirecting script
Php if possible as it's the best code for mobiles


In fact to tell you truth, i want to be able to:
1) Filter out Desktops/Laptops from Mobiles.
So Desktop/Laptops goes to a page of my choice and mobiles to another page
2) The mobile landing page has an OS filtering code. So Iphones are going to iphones.php, Androids are going to android.php etc...
3) Finally, they get redirected depending on the country of origin.

So if someone is using an Iphone, from France well he's getting:
mysite.com/mobiles/iphones/france.php page
On this page, Iphone offers targeted at France

Surfer is using his PC ? Well he gets:
mysite.com/desktop/france.php
On this page, offers targeted at france (not mobile specific)

Now imagine the quality of the leads $$$

I got everything working so far but i'm missing the last part which is the country redirect thingo. I had a look at maxmind but do you have something else to suggest me ? Spam me i don't mind (wordpress plug whatever). I'll buy thru your ref link as a thank you.

Thanks
#geoip #redirecting #script
  • Profile picture of the author IndianBabe
    Why is a geo redirecting script used??
    {{ DiscussionBoard.errors[8559852].message }}
  • Profile picture of the author webproishere
    Read the post above.
    You should do the same by the way.

    You install this on your site and it redirects surfers based on their country of origin to the page of your choice. For instance, you're from India right ? Well if you would go to my site, it would serve you a page in hindi but i could also send you to an offer that's only available to people from India and make more money. Hope you understood ?
    {{ DiscussionBoard.errors[8559867].message }}
  • Profile picture of the author torstenm
    You might want to have a look at the geo redirection script.

    I didn't use it yet, just came accidentally across it a few days ago. But it seems to do the job you are looking for.
    Signature
    {{ DiscussionBoard.errors[8560417].message }}
  • Profile picture of the author webproishere
    Bumping this again. Heck i can't believe there's none around !
    PHP that is

    What i'm looking for in fact is:

    1) Find out if it's a mobile or a desktop
    2) If mobile, finds out what OS device it is
    3) Finds out from which country the user is from
    4) Redirects accordingly. So a surfer from USA using an android would get served.
    http://www.mysitethescriptisinstalle...roid/offer.php
    Guys from UK using a desptop would get
    http://www.mysitethescriptisinstalle...ktop/offer.php
    Got the picture ?
    5) Finally, a default url if none of the settings are met. One for mobiles and one for desktops
    {{ DiscussionBoard.errors[9840291].message }}
  • Profile picture of the author fartarific
    imobitrax will work. its a self hosted tracking solution, great for tracking everything mobile and redirecting different mobile devices.
    {{ DiscussionBoard.errors[9842954].message }}

Trending Topics