Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 15th Apr 2013, 02:35 AM   #1
HyperActive Warrior
War Room Member
 
markv's Avatar
 
Join Date: 2009
Location: UK
Posts: 103
Thanks: 43
Thanked 11 Times in 11 Posts
Default
Traffic From Countries I am Not Targeting..
Share on: 
fb share twitter share gplus share more share

Hi,
I am having lots of problems with bots of various descriptions following links on my web pages all the way to my Amazon links.

I have the redirections plugin installed and have added the name of the folder that all the links are redirected into robots.txt and instructed search engines not to visit. Since i have done this i am now having problems with lots of visits from rogue bots to the redirects folder. I am concerned that i may be losing affiliate commissions due to this activity.

After blocking the IPs of these bots and having a look at where these servers are located it occurred to me that most of them were chinese, Israeli, Luxemburg etc which are all countries that i dont sell to.

Is there any code that i can add to the .htaccess file in Wordpress to only allow visitors from the US?

I think lots of other people on the forum would find this information useful if it is possible to implement.

Thanks for your help
markv is offline  
Unread 15th Apr 2013, 03:04 AM   #2
Full Stack Developer
 
Patrick's Avatar
 
Join Date: 2011
Location: Bangkok, Thailand
Posts: 1,142
Thanks: 56
Thanked 206 Times in 183 Posts
Default
Re: Traffic From Countries I am Not Targeting..
Share on: 
fb share twitter share gplus share more share

You can generate an htaccess code using this...

https://www.countryipblocks.net/country_selection.php

Select USA, Select ".htaccess Allow", Click "Create ACL"...

Patrick is offline  
The Following User Says Thank You to Patrick For This Useful Post:
Closed Thread


Bookmarks

Tags
countries, targeting, traffic


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 06:59 AM.