Skip to main content
General

Solution for Inactive Admin Links in Magento 2 (Windows)

By |June 22, 2015 January 3rd, 2022No Comments

Magento has released the beta version for Magento 2. Magento developers are keenly following these releases and are trying to analyze Magento 2 Upgrades. One of the common issues noted by developers are the broken links in Magento 2 when installed in Windows.

The beta version (Magento ver. 0.74.0-beta13) is working fine when installed in Linux. When the beta version is installed in Windows, the links and CSS are disabled.  The images in the admin panel and front end are not loaded (i.e.) there are inactive admin links in windows.

This has been a common issue faced by many Windows developers (under Xampp) for Magento 2 (Magento ver. 0.74.0-beta13).

Before Fix – Links Are Inactive

Magento2

After installing Magento 2 in Windows under Xampp, if your admin and front end link’s are not working, please follow the below steps to fix the same…

  1. Remove everything, except .htaccess file from pub/static folder
  2. Open up app/etc/di.xml find the path “MagentoFrameworkAppViewAssetMaterializationStrategySymlink” and replace to “MagentoFrameworkAppViewAssetMaterializationStrategyCopy”

Note: Remove entire files and folder under pub/static except .htaccess file.

After Fix – Links Are Active

Magento2fixed

Now if you refresh the admin panel, the images in the admin panel and the front end will load and be active and functional.

This solution for “Magento 2 broken admin links” is a contribution to the Magento Open Source Community.

Iyappan

Author Iyappan

Iyappan is a Certified Magento Developer Plus Technical Architect at DCKAP. He is passionate about Magento. He is the 'go-to' guy for all our Magento needs. A cool-headed, hands-on veteran of many end-to-end implementations.

More posts by Iyappan

Discover What You’re Missing

Get the weekly email full of actionable ideas and insights you can use at work and home.