【发布时间】:2010-02-23 09:47:58
【问题描述】:
我需要将任何对 mysite.com/promotion/* 页面的请求重定向到 mysite.com/*,所以举几个例子:
- mysite.com/promotion/some/page.html 将重定向到 mysite.com/some/page.html
- mysite.com/promotion/another-page.html 将重定向到 mysite.com/another-page.html
如何使用 .htaccess 来做到这一点?
【问题讨论】: