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

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy