即使FTP中存在文件,也找不到文件错误

时间:2017-04-12 12:24:07

标签: .htaccess

我在FTP中存在文件但是当我尝试访问这些文件(html文件)时,我得到了#34;在此服务器上找不到请求的URL。此外,尝试使用ErrorDocument处理请求时遇到404 Not Found错误。"

我的.htaccess文件代码是这样的,我尝试了一些解决方案,但都没有。你能否告诉我htaccess文件中有什么错误或缺失。

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /demosite/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /demosite/index.php [L]
</IfModule>

# END WordPress

0 个答案:

没有答案