Magento在除Firefox之外的所有浏览器上返回404错误 [英] Magento returns 404 error on all browsers except Firefox

查看:80
本文介绍了Magento在除Firefox之外的所有浏览器上返回404错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在本地XAMPP安装上设置了Magento,并开始开发主题. 在我通常用于开发的浏览器Firefox上,一切正常.但是,在所有其他浏览器上,访问该页面时得到的都是使用Magento的默认主题显示的404错误找不到页面".

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.

我应该提到我没有使用"http://localhost/sitename"地址访问它.我创建了一个虚拟主机,以便即使直接在本地托管,也可以直接转到"www.sitename.com"来访问该网站(我这样做是为了可以使用目标URL配置Magento)

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.

推荐答案

在后端禁用其他语言后,我遇到了相同的错误.

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

我的解决方案:在停用语言的商店(在管理商店"中)将分类器的数量更改为1、2,....

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

这篇关于Magento在除Firefox之外的所有浏览器上返回404错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆