我迁移了之前部分已损坏的网站,导致浏览器出现403禁止错误。我使用新域名迁移了该站点,该站点显示以下错误消息:
我在错误日志中收到的错误消息是:
[Sun Oct 01 13:46:24.974016 2017] [core:alert] [pid 313593:tid 140292694972160] [client 66.249.82.216:55940] /home/orunodoi/public_html/viralyield.com/.htaccess: RewriteRule: bad flag delimiters
网站的.htaccess是:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
# END WordPress
我不知道错误发生的原因。托管服务提供商确认存在一些编码问题。但是从我的角度来看,我没有做任何编码改变。是的,我在数据库上上传了一个HTML文档和一个表,然后发生了错误。请帮忙。