【发布时间】:2015-11-20 12:06:03
【问题描述】:
我想做一个RedirectMatch 规则并排除一个url:
RedirectMatch 301 /citycards/citycards-locations/muenchen/((?!trachtenvogl).*) city-news.info/citycards/citycards-locations/muenchen$1
我想排除这个网址:
http://www.city-news.info/citycards/citycards-locations/munchen/citycards-trachtenvogl-reichenbachstr-47-munchen
来自redirectMatch 你能看出一个错误吗?以及如何排除第二个网址?我希望有人可以帮助我
【问题讨论】:
-
@Starkeen 避免将问题标记为redirect。使用特定标签,例如mod-alias 或url-redirection。
标签: apache .htaccess url-redirection mod-alias