我已经从 http://www.magentocommerce.com/download
在本地主机上安装了完整版本的 Magento。在进行安装之前,我创建了一个数据库并导入了 Magento 示例数据库(从 Magento 站点下载)。
之后继续安装过程。当我在前面检查它的显示 Best Selling Products
时,当我单击任何产品时,它会给出以下错误:
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 Demo 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
我是 Magento 新手。
最佳答案
我也遇到过。在管理员中转到系统>索引管理并重建各种目录索引,尤其是 URL 重写。
这是因为样本数据一开始没有存储路径,需要对其进行计算,并且畅销产品部分不会读取实际使用的路径,而是一个静态 CMS block ,其中包含它的 HREF 是固定的。对于您自己输入的产品,这可能永远不会发生,因此无需担心。
关于magento - 如何解决 Magento 中的 404 not found 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4872844/