I am facing a problem, I try to redirect the user to a different URL depending on his country of origin using the .htaccess file and GEOIP, I use Codeigniter 3 when I try to follow this tutorial:
https://support.cloudways.com/en/articles/5126366-how-to-use-geoip-with-your-application
A redirection error appears, I don't know how to implement this code? Is using the .htaccess file for the redirection the best solution?
Thanks in advance for your help.