Kindly could you please help as as we are new with Slim Framework.
We have a multi language site.
We would like to redirect our domain directly to one of the pages.
Maxmind offers a free database for this use case you can try.
A way to use this would be using middleware on the route for mydomain.com:
If session value visitor_country is not set:
1.1 Determine visitor country using geo ip
1.2 Set session value visitor_country (set to “unknown” if it could not be determined)