【发布时间】:2012-09-03 08:01:04
【问题描述】:
我有 2 个域 mcleancenter.org 和 aldentheatre.org,都指向一个目录。我想将所有没有"alden-theatre" 的URLs 重定向到mcleancenter.org。所有在URLs 中包含"alden-theatre" 的URL 都应该重定向到aldentheatre.org。
例如:
-
/about应该重定向到mcleancenter.org/about -
/contact应该重定向到mcleancenter.org/contact -
/alden-theatre应该重定向到aldentheatre.org/alden-theatre -
/alden-theatre/perfomance应该重定向到aldentheatre.org/alden-theatre/perfomance
非常感谢任何帮助。
【问题讨论】:
标签: .htaccess redirect url-rewriting url-routing