0

我在以下子域下上传了一个 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 。

4

2 回答 2

1

几种可能性:

  1. 可能是一个糟糕的插件。
    • 禁用所有插件,然后刷新您的主页。
  2. 安装不好。
    • 从 wordpress.org 下载一个新的副本。覆盖您当前的 WP 目录,除了 wp-contents 和 wp-config。
  3. 错误的主题代码
    • 检查您的 functions.php 文件
    • 更好的是,如果你有命令行访问权限,从你的主 WP 目录运行:
      • grep -rn /home/paddingt/public_html/wptest/gllr_add_script *
  4. PHP 或 Apache/HTTPD 版本错误
    • 回声 php_info();

我敢打赌是一个糟糕的插件。祝你好运。

于 2012-08-02T01:13:26.443 回答
0

尝试停用插件并检查
您是否可以在不使用 wp-admin 的情况下停用插件。只需使用 ftp 登录并重命名插件名称,例如:'plugin_name' 更改为 'plugin_name_rename'.. 我遇到了同样的问题.. 我的问题通过停用插件解决了 :)

于 2015-01-29T06:29:57.863 回答