magento - 如何解决 Magento 中的 404 not found 问题

标签 magento

我已经从 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/

相关文章:

php - 未安装 magento pdo_mysql 扩展

php - Magento 选择查询未使用 foreach 循环正确循环

jquery - Magento:引用错误:Sizzle 未定义prototype.js

Magento:数以千计的相似产品,改变价格的两个属性

jquery - Magento Jquery UI 日期选择器

mysql - 使用 Magmi 导入 Magento 产品 - 访问数据库被拒绝

Magento - UPS 运输返回错误 "Missing or invalid service code"

php - 搜索项目时出现 Magento 错误

css - 主页上的 Logo 位于与其他页面不同的位置

php - 如何将关联数组传递给 POST 中的 php 页面?