.htaccess block ip`s
Jump to navigation
Jump to search
This tutorial will give you a basic overview on how to go about blocking unwanted countries from accessing your site. This can often help reduce traffic if your target audience is based in South Africa.
There is an online Country Block Generator, which allows you to select the countries that you want to block or allow. The country block generator can be found when click on this link Country Block Generator. The instructions are quite straight forward, once the code has been generated simply upload the .htaccess file to the /httpdocs directory.
Please use this generator at your own risk.