3) In those folders create the file mod_geoip.conf
4) Put your geolocation restrictions in the mod_geoip.conf file
for example:
Code:
<IfModule mod_geoip.c>
GeoIPEnable On
GeoIPDBFile /usr/share/GeoIP/GeoIPCity.dat
GeoIPScanProxyHeaders On
SetEnvIf GEOIP_COUNTRY_CODE ZA AllowCountry
</IfModule>
<Location />
Deny from all
Allow from env=AllowCountry
</Location>
Above solution might place more load on the server (also assumes you have access to the server, and not a shared hosting environment), and if it's a shared server (which it more than likely is) they'll hit you on resource usage.
You could move your DNS to Cloudflare and use them to block all countries except for SA.
If it's a Wordpress site, I suggest running Wordfence to help fend off attackers, and then perhaps use it's "Blocking" feature to block everything except ZA.