0

我在 htaccess 中有以下规则

 RewriteRule ^noticias/?$ /index.php?view=pagination&ptype=noticias [L]

但问题是,如果我在 URL 中放一些空格,像这样.. 我可以正常访问该页面。

 http://gamesite.org/noticias     /

我不知道我该怎么做才能阻止它。

没有/浏览器会删除空格。但问题是我需要这个栏,因为我的网站上有分页。Ex: /noticias/1/

这是我的 htaccess 文件http://pastebin.com/gwtZGaGv

4

0 回答 0