So what i have 'failed' to do so far is to redirect visitors based on their country to a spefic folder. I have multiple websites for my clients which uses more than 4-5 languages and all of them have a speciic folder such as /fr/ or /de/. Anyways, what i'm trying to do is redirect only the countries which have a folder, for example france and germany, all the other countries which do not have a language are remained at the root page, which normally would be english version.
I tried to implement this with some geo php script, however the english version[root] is not in some folder such as /en/ and when i added the script in the index.php, when a visitor was from england lets say, the redirect just kept on going and made the site unavailable[too many redirects].
Looking forward to some solutions, thanks!