如何解决在 Magento 中未找到 404 的问题 [英] How to solve 404 not found problem in Magento

查看:29
本文介绍了如何解决在 Magento 中未找到 404 的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从 http://www.magentocommerce.com/download 在本地主机上安装了完整版本的 Magento.在安装之前,我已经创建了一个数据库并导入了 Magento 示例数据库(从 Magento 站点下载).

I have installed full release Magento on localhost from http://www.magentocommerce.com/download. Before doing installation I have created a database and import Magento sample database (downloaded from Magento site).

之后继续安装过程.当我检查它的显示 Best Selling Products 时,当我单击任何产品时,它会给出以下错误:

After that continue installation process. When I checked fronted its shows Best Selling Products when I clicked any of the product it gives error given below:

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 的新手.

I am new to Magento.

推荐答案

我也遇到过这种情况.在管理员中进入系统>索引管理并重建各种目录索引,尤其是URL重写.

I've experienced this too. In the admin go to System > Index Management and rebuild the various catalog indexes, especially the URL rewrites.

这是因为示例数据没有存储它的路径开始,它需要计算,并且畅销产品部分不读取正在使用的实际路径,而是一个静态 CMS 块它是固定的 HREF.对于您自己输入的产品,这种情况可能永远不会发生,因此无需担心.

This is because the sample data doesn't have it's paths stored to begin with, it needs to be calculated, and the Best Selling Products section doesn't read the actual paths in use, instead it is a Static CMS Block with it's HREFs fixed. This will probably never occur for products you enter yourself so it's nothing to worry about.

这篇关于如何解决在 Magento 中未找到 404 的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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