Magento 2 Admin Links Not Working on localhost – Easy Solution

  • author-img Nidhi Arora
  • 8 years

In our earlier blog post, we explained Magento 2.0 installation in a practical step by step process to successfully install & practice the latest master version of Magento 2. Today, we would like to focus on a critical issue occurring after Magento 2.0installation on localhost. The issue is critical as it disables all the admin links of your Magento 2.0 backend. Let’s dive in& check how this issue impacts your admin panel and what you can do to resolve it.

  • Once,after installing Magento 2.0, you will face a critical issue that disables all your admin links.
  • The js and css will also not load in your local

Here is the Solution:

Open the file “app/etc/di.xml” and locate the coding section from580 to 586 or xml snippet shown below:

<arguments>

<argument name="strategiesList" xsi:type="array">

<item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink</item>
<item name="default" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Copy</item>

</argument>

</arguments>

Replace the “Symlink” in the above with “Copy”. The following XML snippet is the correct form that you will get after performing such modifications in the above lines:

<arguments>

<argument name="strategiesList" xsi:type="array">

<item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Copy</item>

<item name="default" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Copy</item>

</argument>

Nothing is faultless. Since Magento 2 is still shaping up so when you do a download of master build from github remember, it is still being worked upon these issues. This issues is the most common & critical issue encountering by a number of Magento developers. Before proceeding to make above mentioned changes in the core code, it will be wise to first ensure that you are comfortable with the Magento coding environment. Although, it is an open-source platform, but you must be cautious while making such modifications in the code.

Download Blog

ENQUIRY

Ready to Get Started

Communication is the key for us to understand each other. Allow us to understand
your requirements or queries. Present us with an opportunity to serve you.

Fill out the form and out team will get back to you
within 24 hours

    Head Office

    815 Brazos St STE 500, Austin,
    TX 78701, USA