CPAElites 2021 is coming! Finally! No more excuses! - Please click [here] to read more!
CPAElites 2021 beta: Get access to the CPAElites 2021 closed beta now! - Please click [here] to get access!


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.

.



16th of November 2020
Attention! I'm currently injured and under heavy medication (13 different pills per day, some up to 4 times per day) incl. opioids/morphine (600 mg/day, maximum allowed dose). So please expect some delays (days) if you contact me. If possible, please contact me at Discord. I'm sorry about any inconvenience. (4th of January 2021)




[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.

.



16th of November 2020
Attention! I'm currently injured and under heavy medication (13 different pills per day, some up to 4 times per day) incl. opioids/morphine (600 mg/day, maximum allowed dose). So please expect some delays (days) if you contact me. If possible, please contact me at Discord. I'm sorry about any inconvenience. (4th of January 2021)




[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.

.



16th of November 2020
Attention! I'm currently injured and under heavy medication (13 different pills per day, some up to 4 times per day) incl. opioids/morphine (600 mg/day, maximum allowed dose). So please expect some delays (days) if you contact me. If possible, please contact me at Discord. I'm sorry about any inconvenience. (4th of January 2021)




[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,649 2020-01-24, 06:19 PM
Last Post: mic141414
  Looking for a CPA Script Curtis95 5 616 2020-01-23, 11:11 PM
Last Post: cintrondigital
  Who is the creator of this script?? rajabadariqbal 1 337 2019-05-10, 02:32 AM
Last Post: CPAElites Moderation Bot
  movie search engine script ENCRYPT 7 933 2018-06-04, 09:19 PM
Last Post: CharlieHarper
  OGAds Content Locker Button Script? dictatorce 2 1,785 2018-04-17, 07:39 PM
Last Post: OPEarner







About Us | Contact Us | CPAElites | Advertise | Stats

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