Admin Url Redirecting To Localhost/admin


Answer :

First change from

http://localhost/sitename

to

http://127.0.0.1/sitename/

second, after doing this remove var/cache folder.


Check your Baseurl and Baseurl secure  

Change From :-

localhost

To :-

127.0.0.1

Then Run This Command :-

sudo php bin/magento cache:flush  sudo php bin/magento cache:clean 

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable