2018-10-30, 04:42 AM,
|
|
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+
Do something better mate.
|
|

2018-10-30, 06:06 AM,
|
|
(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)
Automate your daily work with Bots!
Then you'll have more time to sleep. ;-)
|
|
2018-10-30, 06:08 PM,
|
|
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
|
|
2018-10-30, 06:31 PM,
|
|
(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)
Automate your daily work with Bots!
Then you'll have more time to sleep. ;-)
|
|
2018-10-30, 07:03 PM,
|
|
(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 
Check my IG + CPA Journey Thread
|
|
2018-10-30, 07:15 PM,
|
|
(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)
Automate your daily work with Bots!
Then you'll have more time to sleep. ;-)
|
|
2018-10-31, 12:15 AM,
|
|
(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.
Do something better mate.
|
|
2018-10-31, 09:10 AM,
|
|
(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! 
Check my IG + CPA Journey Thread
|
|
|