.htaccess – geo-blocking and redirect setup under namechap provider – Upwork

Hi, I’ve got domain and hosting under namechap.com I have to set up .htaccess or any setting so there is geo-blocking for specific country and re-direct at the same time. So user from country "A" can’t access the domain at all. And user from country "B" is redirected.
I used this tutorial https://www.namecheap.com/support/knowledgebase/article.aspx/9536/29/how-to-block-ips-from-accessing-your-website/
However it does’t work as it should, I need a help with this
Thank you
Tomasz

Hourly Range: $13.00-$30.00

Posted On: April 08, 2022 17:08 UTC
Category: Full Stack Development
Skills:API, C#, PHP, JavaScript, SQLite, Apache HTTP Server, Apache Tomcat, Apache Geronimo, Network Administration

Country: United Kingdom

click to apply