我有一个具有以下htaccess规则的第三级域m.numeroverde.com:
RewriteEngine On
RewriteBase /
RewriteRule ^home/?$ index.php
ErrorDocument 404 /404.html404错误页在实际的404页上正确显示,但在应该链接到index.php页面时,m.omoverde.com/home也被识别为404页。
我必须在我的htaccess中为第三级域写些什么吗?
发布于 2014-12-02 15:58:43
因此,经过多次尝试之后,解决我的问题所需的字符串是:
Options -MultiViews在我的htaccess顶部(这里是帮助我理解http://alexcican.com/post/how-to-remove-php-html-htm-extensions-with-htaccess/的帖子)
https://stackoverflow.com/questions/27251093
复制相似问题