Magento returns 404 error on all browsers except Firefox

和自甴很熟 提交于 2019-12-25 03:51:07

问题


I've set up Magento on a local XAMPP installation and started developing a theme. Everything works OK on Firefox, the browser I usually use for development. However, on all other browsers, all I get when accesing the page is a 404 Error "Page not found" shown using Magento's default theme.

I should mention that I am not accessing it using the "http://localhost/sitename" address. I have created a virtual host so that I access the site by going directly to "www.sitename.com", even though it's hosted locally (i did this so that I can configure Magento using the destination URL)

Any help would be appreciated, I really don't understand why this would behave differently on other browsers.


回答1:


I had the same error after I deactivated other languages in backend.

My solution: change the numbers of sorter to 1, 2, ... in the stores with deactivated languages (in "manage stores").




回答2:


Please delete your cache files located at var/cache folder.Or disable caching feature in magento admin pannel. Please check it after that.



来源:https://stackoverflow.com/questions/6408487/magento-returns-404-error-on-all-browsers-except-firefox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!