我在以下子域下上传了一个 Wordpress 网站 - http://wptest.paddingtonterraces.com.au/
对于从根目录外部抓取的所有内容,我都会收到“500 内部服务器错误”。
任何解决此问题的帮助将不胜感激。
编辑:
.htaccess 重写:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /paddington-terraces/
RewriteRule ^index\.php$ - [L]
RewriteRule ^css/(.*) /paddington-terraces/wp-content/themes/retlehs-roots-g2368ac2/css/$1 [QSA,L]
RewriteRule ^js/(.*) /paddington-terraces/wp-content/themes/retlehs-roots-g2368ac2/js/$1 [QSA,L]
RewriteRule ^img/(.*) /paddington-terraces/wp-content/themes/retlehs-roots-g2368ac2/img/$1 [QSA,L]
RewriteRule ^plugins/(.*) /paddington-terraces/wp-content/plugins/$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /paddington-terraces/index.php [L]
</IfModule>
解决了:
必须从重写路径中删除/paddington-terraces 。