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.


There is simple two steps solutions.


Open .htaccess file

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


Uncomment the line

 #RewriteBase /magento/ 


 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