Showing posts with label Magento. Show all posts
Showing posts with label Magento. Show all posts

Sunday, March 26, 2017

Magento 2 links in admin or backend doesn't work

For the fresh installation of magento2.1.5 I have found some admin url don't work and to overcome such errors here is the solution:

according to my windows platform with xampp setup, I have pointed to magento's bin folder using windows command prompt as below:

 cd c:\xampp\htdocs\magento2\bin> php magento setup:static-content:deploy

after running the above command refresh admin panel or store and it will be resolving broken links issues.

How to run magento commands for windows user?

While working with a magento project in my windows computer I needed to run some magento commands and here is the basic process to do this task:

I have my magento project installed under my xampp server so I need to point that directory using windows command prompt like below:

c:
cd xampp \ htdocs \ magento2 \ bin
C:\xampp\htdocs\magento2\bin> php magento setup:upgrade

in this way we can run magento commands on windows platform.

make sure xampp server has been started prior to run the command.