I'm learning on a test server magento and I got this issue : when i go to the admin panel, i'm redirected to a weird url.
My url : http://m2.esprit-ktm.ham05.com/
My adminuri is ok i checked it in Magento env.php.
When i try to connect to my admin panel i'm redirected to : http://index.php/adminham/http:/index/index/index.php/adminham/admin/index/index/key/36b1fa9fd17a2a5...
I also checked in the database, in core_config_data the urls seems good to me.
If someone has a solution please, thank you.
Solved! Go to Solution.
Have you checked your server apache configuration for such redirection?
It could also be in a ".htaccess" file in your root directory or elsewhere...
The last place I would check would be in the "url_rewrite" table.