Skip to main content
Blog General

Solution for Inactive Admin Links in Magento 2 (Windows)

Iyappan Perumal
June 22, 2015 |

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 Perumal

As the Head of Product for DCKAP Integrator, an ERP Integration Platform for distributors - Iyappan leads the product vision, strategy, and execution for delivering scalable, secure, and user-friendly integration solutions for small to mid-size distributors. With over a decade of experience in building eCommerce stores prior to kick-starting his product journey, he knows the ins & outs of scaling & managing the storefronts. Out of curiosity, he started figuring out solutions to streamline the front-end and back-end operations that help distributors run an effective & profitable distribution business. And ended up launching Cloras (now DCKAP Integrator) in 2017. Today, hundreds of distributors across different verticals use DCKAP Integrator to connect & automate their backend operations. He loves documenting his observations and learnings, while staying up-to-date with the goings on of the industry.

More posts by Iyappan Perumal