Attention: Server maintenance in progress. - Please click [here] to read more! (Last update: Friday, 19th of April, 09:04 PM/21:04, UTC+2, Europe)


GEO Redirection Script
2018-10-30, 08:12 AM,
#1
Search on google for a while and find no working script.
I also tried Geo redirection script in CPAElites toolbox but it has no default link, it means I have to add link for every country in the list.
I just need simple script which redirect
tier 1 countries to offer 1
tier 2 and few tier 3 countries to offer 2
the rest to offer 3
Can someone share me your script? I'm much appreciated with rep+
Reply
Share This Thread :

2018-10-30, 09:36 AM,
#2
(2018-10-30, 08:12 AM)immart247 Wrote: I also tried Geo redirection script in CPAElites toolbox but it has no default link, it means I have to add link for every country in the list.

The geo redirection script of the CPAElites toolbox doesn't work (currently): https://www.cpaelites.com/Thread-Geo-Red...esn-t-work

You could use the free Maxmind database for your own scripts. Or the paid service.

.

Please check my latest thread: https://www.cpaelites.com/Thread-Snapchat-Q-A



[Image: giphy.gif]

Automate your daily work with Bots!
Then you'll have more time to sleep. ;-)
Reply
2018-10-30, 09:38 PM,
#3
I am using a very basic script that I find on stackoverflow If I remember correctly.

Use https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 to find the country codes you want to redirect and then add them, I've added "US" and "AU" for United States and Australia for examples.

Replace the URL_DEFAULT to your url that all non redirected countries will be directed to.

I couldn't paste the code here as it looks messed up so I uploaded it to pastebin for you mate, hope that's not against the rules.

https://pastebin.com/1rbTJG5Y

Check my  IG + CPA Journey Thread
Reply
2018-10-30, 10:01 PM,
#4
(2018-10-30, 09:38 PM)JenniN Wrote: I couldn't paste the code here as it looks messed up so I uploaded it to pastebin for you mate, hope that's not against the rules.

Oh? The PHP code button at the editor doesn't work for you?

(No, it's not against the rules, don't worry.)

The only problem I see: Services like ip2c.org won't last forever (like many others before) and/or limit the number of requests.

.

Please check my latest thread: https://www.cpaelites.com/Thread-Snapchat-Q-A



[Image: giphy.gif]

Automate your daily work with Bots!
Then you'll have more time to sleep. ;-)
Reply
2018-10-30, 10:33 PM,
#5
(2018-10-30, 10:01 PM)CharlieHarper Wrote:
(2018-10-30, 09:38 PM)JenniN Wrote: I couldn't paste the code here as it looks messed up so I uploaded it to pastebin for you mate, hope that's not against the rules.

Oh? The PHP code button at the editor doesn't work for you?

(No, it's not against the rules, don't worry.)

The only problem I see: Services like ip2c.org won't last forever (like many others before) and/or limit the number of requests.

I was using the "code" button but it was cutting the source code and only half was posted.

As for the ip2c.org issues, I am aware that it won't last forever but it gets the job done for the moment and for the volumes I want to Wink

Check my  IG + CPA Journey Thread
Reply
2018-10-30, 10:45 PM,
#6
(2018-10-30, 10:33 PM)JenniN Wrote: I was using the "code" button but it was cutting the source code and only half was posted.

Thank you for this feedback. I'll check it soon.

.

Please check my latest thread: https://www.cpaelites.com/Thread-Snapchat-Q-A



[Image: giphy.gif]

Automate your daily work with Bots!
Then you'll have more time to sleep. ;-)
Reply
2018-10-31, 03:45 AM,
#7
(2018-10-30, 09:38 PM)JenniN Wrote: I am using a very basic script that I find on stackoverflow If I remember correctly.

Use https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 to find the country codes you want to redirect and then add them, I've added "US" and "AU" for United States and Australia for examples.

Replace the URL_DEFAULT to your url that all non redirected countries will be directed to.

I couldn't paste the code here as it looks messed up so I uploaded it to pastebin for you mate, hope that's not against the rules.

https://pastebin.com/1rbTJG5Y
the code is working. Thank you very much! It saved me a lot of time creating links on smarturl.it which I don't really like.
Reply
2018-10-31, 12:40 PM,
#8
(2018-10-31, 03:45 AM)immart247 Wrote:
(2018-10-30, 09:38 PM)JenniN Wrote: I am using a very basic script that I find on stackoverflow If I remember correctly.

Use https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 to find the country codes you want to redirect and then add them, I've added "US" and "AU" for United States and Australia for examples.

Replace the URL_DEFAULT to your url that all non redirected countries will be directed to.

I couldn't paste the code here as it looks messed up so I uploaded it to pastebin for you mate, hope that's not against the rules.

https://pastebin.com/1rbTJG5Y
the code is working. Thank you very much! It saved me a lot of time creating links on smarturl.it which I don't really like.

You're welcome mate.

Good luck with your earnings! Cool

Check my  IG + CPA Journey Thread
Reply


Related Threads
Thread Author Replies Views Last Post
  Looking for incentive network with geo-targeting googleman 1 134 2019-01-02, 05:38 AM
Last Post: naruto87
  Do the language in landing page has to be the same language as GEO location? SupremeWarrior 9 686 2018-08-27, 12:17 PM
Last Post: Ana_AdCombo
  What are the ways to promote Geo Targeted CPA offers? SupremeWarrior 5 481 2018-08-15, 08:16 PM
Last Post: CharlieHarper
  movie search engine script ENCRYPT 7 492 2018-06-05, 12:49 AM
Last Post: CharlieHarper
  OGAds Content Locker Button Script? dictatorce 2 890 2018-04-17, 11:09 PM
Last Post: OPEarner





About Us | Contact Us | CPA Elites | Advertise | Stats

Copyright © 2013 - 2019 by (company to be announced later)
Enhanced by MyBB
Return to top
This forum uses Lukasz Tkacz MyBB addons.