【发布时间】:2012-12-17 23:18:07
【问题描述】:
我在名为 patients 的文件夹中有一个站点,我的网址如下所示:
http://site.com/patients/articles/another-post-name
我想将它们全部重定向到一个干净的位置:
http://newsite.com/another-post-name
换句话说,将有时出现的 /articles/ 和 301 丢到新站点。
关于如何使用 htaccess 执行此操作的任何帮助?
【问题讨论】:
标签: apache .htaccess http-status-code-301