【发布时间】:2011-05-25 18:14:08
【问题描述】:
我已经在这个问题上待了将近一周,并且一直在网上搜索答案,但我找不到答案。
问题:
每次我访问我网站的主页时,都会出现 404 错误。
例如。 http://www.domain.com ---> 重定向到 404
http://www.domain.com/home --->进入我设置为主页的cms页面
我已经运行了 magento 清理脚本,但无法解决问题。
ERROR MESSAGE:
Whoops, our bad...
The page you requested was not found, and we have a fine guess why.
If you typed the URL directly, please make sure the spelling is correct.
If you clicked on a link to get here, the link is outdated.
What can you do?
Have no fear, help is near! There are many ways you can get back on track with Magento Store.
Go back to the previous page.
Use the search bar at the top of the page to search for your products.
Follow these links to get you back on track!
Store Home | My Account
【问题讨论】:
-
哪个 404? (alanstorm.com/magentos_many_404_pages自链接)
-
magento cms 页面 404。可以在 admin 中定义。编辑帖子,添加错误消息
-
主页是否启用了“所有商店视图”?您可以从 CMS 页面列表中轻松分辨。
-
是的,它已为所有商店视图启用
-
好的,所以我发现了问题所在......网站上的一些图片网址是错误的。它不是文件名,而是指向我从中抓取图像的链接。删除后,我能够解决问题。
标签: magento http-status-code-404