.htaccess block ip`s

From Imaginet FAQ
Revision as of 16:08, 13 December 2021 by Desmond (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 you 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.