【发布时间】:2017-07-06 16:57:22
【问题描述】:
根据我们的 SEO 人员的说法,我们在如下 URL 处获得流量:
http://www.oursite.com/articles/article1/www.someothersite.com/page.aspx/sectionID%20=113/
我想 301 重定向到 http://www.oursite.com/articles/article1(删除多余的 URL)。在 .htaccess 中试过这个:
RedirectMatch 301 ^http://www.oursite.com/articles/article1/www.someothersite.com/page.aspx/sectionID%20=113/$ /articles/article1
哪个不工作...
【问题讨论】:
-
http://www.oursite.com/articles/article1/www.someothersite.com/page.aspx/sectionID%20=113/应该重定向到什么地方?
标签: php apache .htaccess redirect