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

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?