如何将所有404页面转发到首页?

时间:2022-10-26 20:08:13

I have a simple question...I had an old store and people bookmarked specific product pages in their browsers as well as Google search points to some specific pages. I have now installed a new version of Magento (1.9.1) and some of these URLs will not longer work (they will show the standard 404 not found Magento page).

我有一个简单的问题......我有一个旧商店,人们在浏览器中为特定产品页面添加了书签,并将Google搜索点添加到某些特定页面。我现在已经安装了新版本的Magento(1.9.1),其中一些URL将不再起作用(它们将显示标准的404未找到的Magento页面)。

What would be the best way to forward all these hits to the front page?

什么是将所有这些点击转发到头版的最佳方式?

Thank you for any suggestions!

谢谢你的任何建议!

Allysin :-*

1 个解决方案

#1


Login to the admin, go to System>Configuration>Web and change the drop-down value for CMS No Route Page in the Default Pages section. You should be able to select your CMS Home Page.

登录管理员,转到系统>配置> Web,然后在默认页面部分中更改CMS无路由页面的下拉值。您应该可以选择CMS主页。

Here is a reference with images

这是图像的参考

If manual setting doesnt help,you can try this.

如果手动设置没有帮助,您可以试试这个。

#1


Login to the admin, go to System>Configuration>Web and change the drop-down value for CMS No Route Page in the Default Pages section. You should be able to select your CMS Home Page.

登录管理员,转到系统>配置> Web,然后在默认页面部分中更改CMS无路由页面的下拉值。您应该可以选择CMS主页。

Here is a reference with images

这是图像的参考

If manual setting doesnt help,you can try this.

如果手动设置没有帮助,您可以试试这个。