[导读]:老网站 a.SEOwhy.com/news/housenews/20151230-190.html 新网站 b.SEO.why.com/News/detail.aspx?id=190 请问htaccess 301规则该如何写? RewriteCond %{HTTP_HOST} ^seowhy.com$ RewriteRule ^news/housenews/20151230-([0-9]+).ht...
老网站
a.SEOwhy.com/news/housenews/20151230-190.html
新网站
b.SEO.why.com/News/detail.aspx?id=190
请问htaccess 301规则该如何写?
RewriteCond %{HTTP_HOST} ^seowhy.com$
RewriteRule ^news/housenews/20151230-([0-9]+).html$ $1 [R=301,L]
本文来自投稿,不代表微盟圈立场,如若转载,请注明出处:https://www.vm7.com/a/ask/39628.html