![](/img/trans.png)
[英]how to redirect old url with parameters to new seo url using htaccess
[英]Please help me redirect old url to new url using htaccess
我有一些旧网址来自我们的旧网站,如下所示:
http://www.example.com/archives/2006/08/test.html
我希望我的所有网址都从www.example.com/archives/*开头,指向www.example.com/gossip
任何人都可以给我正确的htaccess代码以执行相同的操作吗? 非常感谢!
基普
这将满足我的要求:
RewriteEngine On
RewriteRule ^/archives/.*$ /gossip [R,L]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.