[英]Redirect permanent tag in Joomla
Due to a recent data update to Joomla 3.3.6 there are several URLs that give 404 as the Taxomy component used in Joomla 1.5.26 is not supported in Joomla 3.x I want to do a permanent redirect those old URLs to new, I used this rule in the htaccess but does not work: 由于最近对Joomla 3.3.6进行了数据更新,因此有几个URL会提供404,因为Joomla 3.x不支持Joomla 1.5.26中使用的Taxomy组件。我想将这些旧URL永久重定向到新URL,我在htaccess中使用了此规则,但不起作用:
RewriteRule ^http://www.vistaalmar.es/tag/(.*)$ http://www.vistaalmar.es/component/taxonomy/$1 [L,R=301]
I could give any other ideas for this redirection. 对于这种重定向,我可以提出其他任何想法。
If your links already have /component/taxonomy/
part and you want to redirect them to /tag/
you have to change your rule as: 如果您的链接已经具有
/component/taxonomy/
部分,并且您要将其重定向到/tag/
,则必须将规则更改为:
RewriteRule ^component/taxonomy/(.*)$ /tag/$1 [L,R=301]
Hope this helps 希望这可以帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.