Geo Region Redirect Manager
2013-11-03, 08:51 PM,
#1
I installed this free script but i am having problems getting it to work.
businessminder.net/geo-region-redirect-manager/

I am getting this message (Couldn't connect to database server.Couldn't find database regions) when i log in to create a campaign.

Can someone tell me what i may be doing wrong. Thanks
Reply
Share This Thread :

2013-11-03, 08:54 PM,
#2
(2013-11-03, 08:51 PM)tallis1970 Wrote: I installed this free script but i am having problems getting it to work.
businessminder.net/geo-region-redirect-manager/

I am getting this message (Couldn't connect to database server.Couldn't find database regions) when i log in to create a campaign.

Can someone tell me what i may be doing wrong. Thanks

I dont know how to help you, but i am redirected to homepage.

Please quote me if you are replying to me so I would get a notification.
Reply
2013-11-03, 09:01 PM, (This post was last modified: 2013-11-03, 10:30 PM by isoz.)
#3
Posted this yesterday for someone that needed, very simple.

Quote:<script language="JavaScript" src="http://j.maxmind.com/app/geoip.js"></script>
<script language="JavaScript">

var country=geoip_country_code();

if(country == "EE" | country == "LT" | country == "EG" | country == "IQ" | country == "ID" | country == "PS" | country == "PH" | country == "IN" | country == "VN" | country == "TH" | country == "TW" | country == "MD" | country == "LY" | country == "HU" | country == "BG" | country == "TR" | country == "HR" | country == "DZ" | country == "BA" | country == "MK" | country == "RS" | country == "CY" | country == "RO" | country == "BR" | country == "TT" | country == "LV" | country == "CZ" | country == "SK" | country == "PK" | country == "MA" | country == "MY" | country == "MN" | country == "KR" | country == "GE" | country == "TN" | country == "CI") {
window.location = "";
} else if(country == "SI") {
window.location = "";
} else {
window.location = "";
}
</script>
Reply
2013-11-03, 09:07 PM,
#4
Tell me more. Where do i install this script. I use Word Press.
Reply
2013-11-03, 09:11 PM, (This post was last modified: 2013-11-03, 09:13 PM by isoz.)
#5
(2013-11-03, 09:07 PM)tallis1970 Wrote: Tell me more. Where do i install this script. I use Word Press.

Theres no "installation" involved.
You just copy paste it into your site, in this case I believe you need to paste this in the header.

where it says window.location = "" you put the link you want to redirect the specific countries above.

Appearance, Editor, Header.

And the last part:
Quote:} else {
window.location = "";

This is where all the countries besides the ones you mentioned above will go so don't mess it up. "else" is everything else.
Latest Thanks - View all

tallis1970(2013-11-03 09:17 PM) 
Reply
2013-11-03, 10:06 PM,
#6
I am not sure what part of the header to insert script. Can you tell me please

.
Reply
2013-11-03, 10:14 PM,
#7
(2013-11-03, 09:01 PM)isoz Wrote: "/app/geoip.js"

Good share! But post this file here. Otherwise it wont work!
Reply
2013-11-03, 10:31 PM,
#8
(2013-11-03, 10:14 PM)Springfire Wrote:
(2013-11-03, 09:01 PM)isoz Wrote: "/app/geoip.js"

Good share! But post this file here. Otherwise it wont work!

my bad i must have copied wrong, updated the post, it's maxmind tools.
Reply


Related Threads
Thread Author Replies Views Last Post
  Redirect user based on certain ISP Mix2003_2012 4 217 2017-11-28, 11:41 PM
Last Post: styx
  Affiliate Network With More Geo's for Weight Loss Niche Ghettoweed 5 363 2017-11-17, 08:18 PM
Last Post: Ana_AdCombo
  (help) Redirect Blogspot engkusplus 3 271 2017-11-04, 08:01 AM
Last Post: engkusplus
  Landing Page [redirect] buzzshares 9 499 2017-10-02, 05:21 AM
Last Post: buzzshares
  [Question] Could a GEOIP Redirect be a reason for dangerous browser warnings? CheDz 1 187 2017-09-20, 03:42 PM
Last Post: zamnajali





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

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top