Hello Everyone, I am not techy guy can anyone help how to redirect different visitors from different countries to different sub domains. like US people - us.yourdomain.com, India - India.yourdomain.com
4-55,
There are websites out there which provide a country code for IP addresses. What you must do, then, is capture the {REMOTE_ADDR}, submit it to one of those websites for the code, then redirect accordingly. Although this can be done with mod_negotiation (I believe that looks at the preferred language of the browser) but I’d do it with PHP and a header(“Location:…”) redirection.
Certainly, you’re not going to create 180+ subdomains, though, are you? Are you using wildcard subdomains? Are you prepared to learn ALL languages and provide content accordingly? You have a good question but it doesn’t seem to lead anywhere logical.
Regards,
DK