Online Shopping Cart Software
Talk to a sales representative 1-800-506-0398
 

How do I block a country from accessing my site?

In order to block an entire country or region of the world from accessing your site you can go to http://www.countryipblocks.net/ and select the country or countries you would like to block, select .htaccess deny, and hit generate.

This will generate the necessary code to paste into your .htaccess file to block countries based upon IP ranges.

Note that you should save these changes LOCALLY on your machine as well. In the instance your .htaccess file needs to be regenerated you will have to update this information again.




User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Related Articles

No related articles were found.

Attachments

No attachments were found.