301从/page-190454.html重定向到/190454.html(301 Redirect from /page-190454.html TO /190454.html)
我想重定向我的所有网站链接
来自这个/page-190454.html这样的旧链接
到/190454.html这样的新链接
Thnx ......
i want Redirect all my website links
from old links like this /page-190454.html
to new links like /190454.html
Thnx ...
最满意答案
使用mod_alias:
RedirectMatch 301 ^/page-([0-9]+)\.html$ /$1.html或使用mod_rewrite:
RewriteEngine On RewriteRule ^page-([0-9]+)\.html$ /$1.html [L,R=301]Using mod_alias:
RedirectMatch 301 ^/page-([0-9]+)\.html$ /$1.htmlor using mod_rewrite:
RewriteEngine On RewriteRule ^page-([0-9]+)\.html$ /$1.html [L,R=301]更多推荐
html,page-,Thnx,links,电脑培训,计算机培训,IT培训"/> <meta name="descrip
发布评论