Redirecting only if user asks for the root of the domain nad are froma particular country
- by lphmedia
Hi,
I need a rule and condition to handle this scenario:
User from US visits www.domain.com, domain.com, www.domain.com/ or domain.com/ this should be redirected to www.domain.com/usvisitor/
However, if a user from the US visits www.domain.com/anydirectory it will let them straight through without a redirection occurring.
eg.
RewriteEngine On …