【发布时间】:2015-09-01 02:18:34
【问题描述】:
使用 .htaccess(还有其他解决方案吗?)有没有办法让站点的所有动态链接(包含符号的链接?)返回 404 not found 响应标头?
例如:
http://www.example.com/?bla_bla - 将返回 404
http://www.example.com/test/index.html?no_redirect=true - 将返回 404
【问题讨论】:
-
尝试删除问号前的最后一个斜杠;)
-
如果你真的需要它,因为是的,推荐,请看一下这个其他答案stackoverflow.com/questions/3843293/…
标签: apache .htaccess dynamic hyperlink http-status-code-404