Magento returns 404 error on all browsers except F

2019-08-25 03:43发布

问题:

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.