RewriteRule给出500内部服务器错误

时间:2014-08-29 17:45:00

标签: .htaccess mod-rewrite rewrite

我在RewriteRule中遇到麻烦它给我500内部服务器错误以下是我在.htaccess文件中的代码:

RewriteEngine on

RewriteRule ^About-Us.php$ page.php?title=About Us [NC,L]

这是我的服务器php信息链接,你可以检查我的托管是否需要做些什么。

http://travelinsure.ca/seo_links.php

有什么建议吗?

非常感谢, Sonu Ahmad

1 个答案:

答案 0 :(得分:2)

AboutUs之间有一个空格,这使得mod_rewrite将其解释为"重写标记"的分隔符。尝试逃避它:

RewriteRule ^About-Us.php$ page.php?title=About\ Us [NC,L]
相关问题