apache_conf HTAccess:301重定向

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache_conf HTAccess:301重定向相关的知识,希望对你有一定的参考价值。

Redirect 301 /oldpage.html http://www.yoursite.com/newpage.html
Redirect 301 /oldpage2.html http://www.yoursite.com/folder/

Redirect 301 / http://newsite.com/

/* This way does it with links intact. That is www.oldsite.com/some/crazy/link.html will become www.newsite.com/some/crazy/link.html. This is extremely helpful when you are just "moving" a site to a new domain. Place this on the OLD site */

以上是关于apache_conf HTAccess:301重定向的主要内容,如果未能解决你的问题,请参考以下文章

apache_conf 301重定向(.htaccess)

apache_conf htaccess 301重定向

apache_conf [.HTACCESS | https erzwingen来自301-Redirect] Anfragen allerArtkönnenby.htaccess-File

apache_conf 通过重定向301重定向所有网站([R = 301,L])

apache_conf 301重定向示例

apache_conf 301重定向