Trying to geofence a single blog post to block visitors from all countries except those approved.

[ad_1]

I am getting install errors when I try to install GeotargetingWP which seems like the best option for this. Any other recommendations? A plug-in that will block people from an entire country does not really work for me in this use case.

[ad_2]
1 Comment
  1. Couldn’t you use .htaccess for that?
    `<Location “/your-url”>`
    `GeoIPEnable On`
    `SetEnvIf GEOIP_COUNTRY_CODE DE BlockCountry`
    `deny from env=BlockCountry`
    `</Location>`
    or something like that, consult internet for the exact code. 😀

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer