# Helicon ISAPI_Rewrite configuration file
# Version 3.0.0.23
#我网站的目录结构以前不合理,现在要改变,而改变会导致搜索引擎排名下降,很从来自搜索引擎上的链接都打不开内容,所以要用这个软件来调整下,做301重定向
#Emulate site2
#RewriteCond Host: (.*yongfa365.com)
RewriteRule .*?/blog/index/(.*) /$1 [NC,R=301]
RewriteRule .*?/blog/category/index/(.*) /$1 [NC,R=301]
RewriteRule .*?/blog/calendar/(.*) /$1 [NC,R=301]
RewriteRule .*?/blog/rss/(.*) /rss/$1 [NC,R=301]
RewriteRule .*?/blog/item/(.*) /item/$1 [NC,R=301]
RewriteRule .*?/blog/board/(.*) /board/$1 [NC,R=301]
引用:
装用ISAPI_Rewrite 对网站进行301重定向规划http://www.yongfa365.com/item/ISAPI_Rewrite-301-redirect-yongfa35.com.html