Important: Valar Solutions scam - Have you been also scammed by Valar Solutions? - Please click [here] to read more! - Valar Solutions fraud
Snapchat Contest #1 Free Snapchat bot access for you! Please click [here] to read more! (Last update: 8th of January 2020)
January 2020 news -  CPAElites Essentials (2020) is coming: Please click [here] to read more!


GEO Redirection Script
2018-10-30, 04:42 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
2018-10-30, 06:06 AM,
#2
(2018-10-30, 04:42 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.

.

CPAElites Essentials (2020) is coming: Click /here/ to read more!

Click /here/ to follow discussions, feedbacks and ideas!




[Image: giphy.gif]

Automate your daily work with Bots!
Then you'll have more time to sleep. ;-)
Reply
2018-10-30, 06:08 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, 06:31 PM,
#4
(2018-10-30, 06:08 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.

.

CPAElites Essentials (2020) is coming: Click /here/ to read more!

Click /here/ to follow discussions, feedbacks and ideas!




[Image: giphy.gif]

Automate your daily work with Bots!
Then you'll have more time to sleep. ;-)
Reply
2018-10-30, 07:03 PM,
#5
(2018-10-30, 06:31 PM)CharlieHarper Wrote:
(2018-10-30, 06:08 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, 07:15 PM,
#6
(2018-10-30, 07:03 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.

.

CPAElites Essentials (2020) is coming: Click /here/ to read more!

Click /here/ to follow discussions, feedbacks and ideas!




[Image: giphy.gif]

Automate your daily work with Bots!
Then you'll have more time to sleep. ;-)
Reply
2018-10-31, 12:15 AM,
#7
(2018-10-30, 06:08 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, 09:10 AM,
#8
(2018-10-31, 12:15 AM)immart247 Wrote:
(2018-10-30, 06:08 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
  Alternative CPA Network Script reedhawk 5 2,140 2020-01-24, 06:19 PM
Last Post: mic141414
  Looking for a CPA Script Curtis95 5 432 2020-01-23, 11:11 PM
Last Post: cintrondigital
  Looking for incentive network with geo-targeting googleman 2 369 2019-08-18, 06:58 PM
Last Post: Givenchy
  Who is the creator of this script?? rajabadariqbal 1 266 2019-05-10, 02:32 AM
Last Post: CPAElites Moderation Bot
  Do the language in landing page has to be the same language as GEO location? SupremeWarrior 9 968 2018-08-27, 08:47 AM
Last Post: Ana_AdCombo





About Us | Contact Us | CPAElites | Advertise | Stats

Copyright © 2013 - 2020 by (company to be announced later)
Temporarily (!) powered by MyBB, fixed (repaired) and enhanced by Charlie Harper (GitHub) aka Charles Francis Harper (Wikipedia)
Return to top
This forum uses Lukasz Tkacz MyBB addons.