【问题标题】:Redirect permanent tag in Joomla在 Joomla 中重定向永久标签
【发布时间】:2014-11-28 08:48:05
【问题描述】:

由于最近对 Joomla 3.3.6 的数据更新,有几个 URL 给出 404,因为 Joomla 3.x 不支持 Joomla 1.5.26 中使用的分类组件 我想将这些旧 URL 永久重定向到新 URL,我在 htaccess 中使用了此规则但不起作用:

RewriteRule ^http://www.vistaalmar.es/tag/(.*)$ http://www.vistaalmar.es/component/taxonomy/$1 [L,R=301]

我可以为这个重定向提供任何其他想法。

【问题讨论】:

    标签: .htaccess joomla tags


    【解决方案1】:

    如果您的链接已经有 /component/taxonomy/ 部分并且您想将它们重定向到 /tag/ 您必须将您的规则更改为:

    RewriteRule ^component/taxonomy/(.*)$ /tag/$1 [L,R=301]
    

    希望对你有帮助

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-24
      • 2012-03-15
      • 2016-05-13
      • 2013-07-17
      相关资源
      最近更新 更多