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 “Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink” and replace to “Magento\Framework\App\View\Asset\MaterializationStrategy\Copy”

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.

Be the first to Know

Subscribe to our blog to get the latest articles directly to your inbox.

READY TO DRIVE SALES?

Request a Quote Today

Request a Quote

Leave a Reply

64 Comments on "Solution for Inactive Admin Links in Magento 2 (Windows)"


Guest
Judith
10 days 19 hours ago

Man, I am not even kidding – you just saved my life! I was in full panic mode and you made it all work for me – thank you very much!

Iyappan
Author
10 days 7 hours ago

Hi Judith,

Thanks so much and looking forward to helping you in future as well. Do subscribe to our blogs for further updates and other immersive topics.

Guest
Chris
1 month 19 days ago

Thank you !

Iyappan
Author
1 month 13 days ago

Hi Chris,

Thanks for your comments.
Please subscribe and keep reading our blogs.

Guest
manes
6 months 6 days ago

Thank you it worked. Only needed to run the following command in cli:

$ cd pub/static
$ rm -rf adminhtml/ _cache/ frontend/ _requirejs/

Iyappan
Author
6 months 4 days ago

Hi Manes,

Good to know that it worked for you and thanks for letting us know.
Please subscribe to our blogs.

Guest
karunakar
9 months 26 days ago

Hai Sir,
magento2 luma homepage store image not display .please tell me sir

Iyappan
Guest
Iyappan Perumal
9 months 23 days ago

Hi Karunakar,
Could you answer for few of question to dig your problem deep.
What is your OS ?
What is magento 2 version your are using ?
Did you followed above blog solution ?
Did you did static content deployment ?

Guest
9940551465
1 year 2 months ago

Hello Admin,
I’ve been following you blogs, which are very helpful.
Hope I get a solution for this.
By removing all the files in the pub folder, the CSS part has been disturbed and the whole page is displayed in an un organised manner. Please help with a solution

Guest
Sreekant
1 year 3 months ago

thank you!!

Guest
Babar Khan
1 year 5 months ago

It’s Worked, Thanks (y)

Guest
Bala
1 year 2 months ago

Can you please contact me at swaminathan.sabarish@gmail.com ?
I need you help.

admin
Admin
1 year 5 months ago

Hi Babar,

Good to know it worked. Keeping reading our blogs, we are planning more such articles/
Thanks.

Guest
Pete
1 year 6 months ago

By deleting all content under pub/static except .htaccess, it’s broken all the CSS now. I can’t get these damn left hand links working.

Guest
suman
1 year 6 months ago

It is useful and working solution

admin
Admin
1 year 6 months ago

Hi Suman,

Thanks. Keep reading our blogs.

Guest
vijay
1 year 6 months ago

I am facing problem please help me.
i am installing magento 2 but at 99 % it terminates.how can i fix it?

admin
Admin
1 year 6 months ago

Hi Vijay,

Can you let us know what is the exact issue you are facing?
Are you getting any error messages?
Can you elaborate, please? We will be more than happy to help you.
Thanks.

admin
Admin
1 year 6 months ago

Hi Vijay,

Please follow the below link. It may help you to resolve the issue.

http://magento.stackexchange.com/questions/119618/magento-2-installation-stuck-at-65-installing-user-configuration

Please let us know if this resolve your issue. Keep reading our blogs. Thanks.

Guest
Abdul Qayum
1 year 6 months ago

Its really very helpfull… its working now

admin
Admin
1 year 6 months ago

Hi Abdul,

Thanks.
Keep reading our blogs.

Guest
Starlette
1 year 7 months ago

Hi, I just performed these steps, and it did not work 🙁

Guest
Starlette
1 year 7 months ago

So, for whom it did NOT WORK: i just made the changes in Filezilla itself. basically the data needs to be reloaded after the change. it was not ovious for me, it is mentioned nowhere. now it works!!

1) Remove everything, except .htaccess file from pub/static folder inFilezilla
2) Upload/drag and drop the changed file ( “MagentoFrameworkAppViewAssetMaterializationStrategyCopy”) to filezilla

Guest
sam
1 year 8 months ago

thanks guys…,

admin
Admin
1 year 8 months ago

Hi Sam,
Thanks for your mail.
Please read our blogs.
We have planned for more such good ones.

Guest
sam
1 year 8 months ago

do all above step and followed by remove var/cache, var/composer_home, var/generation, var/page_cache, var/view_preprocessed then only it ll b worked

Guest
Sam
1 year 8 months ago

It is not working…,after i follow these step the all css fill not worked…,

Guest
Chirag
1 year 8 months ago

Yuppee!! It is working

admin
Admin
1 year 8 months ago

Hi Chirag,

Good to know. It is working.
Also, please this with your friends and colleagues so that they may benefit too.
Keep reading our blogs, we are planning to post more such good ones.

Guest
Md. Aktaruzzaman
1 year 9 months ago

Yeah! its really working Thanks a lot…!

Guest
Yassin Zein
1 year 11 months ago

thx

Guest
Harshal
1 year 11 months ago

Thank you

admin
Admin
1 year 11 months ago

Thanks for checking out our blogs.

Guest
Olufemi Adetiwa
1 year 11 months ago

This worked. Thank you,

Guest
Olufemi Adetiwa
1 year 11 months ago

However, i did not delete any PUB file. Just replace link in app/etc/di.xml

Guest
uday
1 year 11 months ago

Thanks so much it’s really worked…..
all links and icons visible…
thank u so much

Guest
tutuKid
2 years 10 days ago

great solution and works for the backend dashboard admin panel…I am however still having problems with the frontend, the theme and css of the actual shop LUMA are simply not loading.

Glad to hear though that it’s a general Windows/Xampp problem and not something individual.

Guest
wayne
2 years 13 days ago

THIS fix does NOT work anymore with latest Magento install 🙁 does anyone have an update to this ?

Guest
Satria
2 years 19 days ago

Please help me, It’s not worked for me. I already follow each step. The files on pub/static except htaccess has been deleted, di.dll already modified. But the page seems like can’t load the css now.

Guest
Dhananjay
2 years 1 month ago

That’s worked for me. Thank you Iyappan.

Guest
Justin
2 years 2 months ago

does’t work on 127.0.0.1 magento 2.02 windows 7, xampp 7.0.3 thank you anyway.

admin
Admin
2 years 2 months ago

Hi Justin,

Thanks for your comments.
Can you please let us know what is the issue that you are facing. It will help us to resolve your issue.

Guest
dhruv
2 years 2 months ago

Thanks so much it’s really worked…..
all links and icons visible…
thank u so much

Guest
Ajayi Thadeus
2 years 3 months ago

Am glad I saw this. I have re-installed xampp over 4 times and repeated the install over and over again. This is what would have saved me all that.
Thanks a bunch.

admin
Admin
2 years 2 months ago

Hi Ajay,

Thanks so much for your feedback.
Please keep reading our blogs.

Guest
shravan kulkarni
2 years 3 months ago

Thanks a lot

Guest
Hiral
2 years 3 months ago

Hi,

I have follow your instructions but di,xml can not save what I changes made, please advice.

Thanks in advance

Guest
Matt Rhys-Davies
2 years 3 months ago

Thanks – saved me a load of pain!

admin
Admin
2 years 3 months ago

Hi Matt,

Thanks for your comments.
We are happy that the blog helped.
We will be publishing a lot more blogs on M2 soon.
Keep reading. Thanks again.

Guest
abhishek
2 years 3 months ago

Thanks

admin
Admin
2 years 3 months ago

Hi,
Thanks for your comments.
We will be publishing a lot more blogs on M2 soon.
Keep reading. Thanks again.

Guest
Lisha
2 years 3 months ago

Thank you!!

admin
Admin
2 years 3 months ago

Hi Lisha,

Thanks for our comments.

Guest
MaRenn
2 years 4 months ago

Hey everyone!

You can even test if only Step 2 is enough. For me after changing the di.xml the Admin Menue is working and the Images are there.

Maybe Step 1 is deleting something importend I don’t know. But maybe Step 1 is also necessary and I havn’t find out why until this moment i realy don’t know^^

But if you have problems after Step1 try only Step2!

And thanks a lot for this post!

Guest
Pankaj
2 years 4 months ago

Hi,

Your demo store showing below error

There has been an error processing your request

Exception printing is disabled by default for security reasons.

Error log record number: 1102643467486

Meanwhile I am also creating a new theme but confused do you have any idea/post of guiding the same?

Guest
Ahir Hemant
2 years 5 months ago

if i removed that folder under pub/static except .htaccess all folder and flies created automatically within few minitues, again i need to change permission of that folders but nothing happen!! really need help at least admin and front 🙁

Guest
Ahir Hemant
2 years 5 months ago

Hello, please please help me if i remove all the files from your given instruction, my front side and backend side, lost all design means its look like disband my admin and front, css and js not loaded. before this step front is working fine admin also working fine but links is not working.

Please what can i do for that ?

Guest
rohit goel
2 years 5 months ago

Hi it works fine and thanks a lot for this but can you please explain what exactly your solution does and what its effect on magento default

Guest
Jai
2 years 5 months ago

You solution work and links are working now. Can you please tell me why i need to do this? And i downloaded and installed m2 with sample data but there is no product and categories in admin. what can be the reason for this?

Guest
lou
2 years 5 months ago

Thanks! It works! I must say that I’m quite disappointed with magento 2 so far:

installation via composer doesn’t work (at least, it took me a day to figure it out, then I gave up)
installation via zip archive takes forever
installation via zip archive with sample data takes even longer (couldn’t they just have an sql file like they used to???)
both admin and frontend take forever to load

and then, when finally everything is loaded and you think you got your new magento.. half of the things are not even there! You have to delete folder, edit xml files.. what a piece of crap!

And, of course, you can install magento2 without composer, but then you cannot upgrade it without composer.. wtf??? Who’s the genius behind this great decisions, I wonder!

I think I’ll stick with magento 1.. it has a lot of problems, but at least they are problems which makes sense!

Guest
Marek
2 years 5 months ago

You are just perfect. I am trying to sort out this problem pretty long and you solution is simple and very effective. It helped me so much. Thank you mate.

Guest
Colin
2 years 6 months ago

Works on Magento 2.0.0 thanks you so much

Guest
Rohitz
2 years 6 months ago

Yeah! its really working Thanks a lot…!

Guest
Phani
2 years 6 months ago

Thanks its working…