【问题标题】:magento 301 redirects not working through URL Rewritemagento 301 重定向无法通过 URL 重写工作
【发布时间】:2014-02-28 07:11:30
【问题描述】:

我想用我的 magento 网站的新链接重定向一些链接。这是我想要的: 旧链接:http://dressat.se/sv/atlas-design.html 新链接:http://dressat.se/index.php/varumarken/atlas-design.html

在 Magento 管理面板 > 目录 > URL 重写管理中。我放了这样的链接: 身份证路径:sv/atlas-design.html 请求路径:sv/atlas-design.html 目标路径:index.php/varumarken/atlas-design.html

但它不起作用。任何帮助,将不胜感激。

【问题讨论】:

  • 尝试从目标链接中删除 index.php 并在 system/Configuration/web 中启用 url 重写。这里将“使用 Web 服务器重写”设置为是,然后再试一次
  • 我已经完成了这两个步骤,但仍然无法正常工作。
  • 'varumarken' 是一个活跃的类别吗?
  • 是的,当然,这是一个活跃的类别。

标签: magento redirect


【解决方案1】:

在根目录的 htaccess 文件中尝试这个 301 重定向。

Redirect 301 /sv/atlas-design.html http://dressat.se/index.php/varumarken/atlas-design.html

这会对你有所帮助。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-12-21
    • 2015-03-04
    • 2015-08-09
    • 1970-01-01
    相关资源
    最近更新 更多