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
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…
- Remove everything, except .htaccess file from pub/static folder
- 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
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.