If magento2 url’s or admin url is not working ?

admin/ April 6, 2016/ Linux, Magento2/ 1 comments

If Magento 2 internal links are not working.

If you are using like below url.

http://localhost/magento2/

There is simple two steps solutions.

Step1-:

Open .htaccess file

 nano /var/www/html/magento2/.htaccess 

Step2-:

Uncomment the line

 #RewriteBase /magento/ 

to

 RewriteBase /magento2/ 

Save the file.

It will work. 🙂

1 Comment

  1. Thanks for sharing it. Well, another way is ti change the admin URL using a command line: php bin/magento setup:config:set –backend-frontname=”magento2″

    Source: https://magenticians.com/change-admin-url-magento-2-tutorial/

Leave a Reply