500内部服务器错误-Wordpress [英] 500 Internal Server Error - Wordpress
本文介绍了500内部服务器错误-Wordpress的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在以下子域上上传了一个Wordpress网站- http://wptest.paddingtonterraces.com.au/
I have uploaded a Wordpress site under the following subdomain - http://wptest.paddingtonterraces.com.au/
对于从根目录外部获取的所有内容,我都会收到"500内部服务器错误".
I am getting '500 Internal Server Errors' for everything that is grabbed from outside the root directory.
任何解决此问题的帮助将不胜感激.
Any help with resolving this would be greatly appreciated.
.htaccess重写:
.htaccess rewrites:
<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 .
Had to remove /paddington-terraces from the Rewrite paths.
推荐答案
几种可能性:
- 可能是一个错误的插件.
- 禁用所有插件,然后刷新您的主页.
- Could be a bad plugin.
- Disable all plugins, then refresh your homepage.
- 从wordpress.org下载新副本.覆盖当前的WP目录,但wp-contents和wp-config除外.
- 检查您的functions.php文件
- 更好的是,如果您具有命令行访问权限,请从主WP目录运行:
- grep -rn/home/paddingt/public_html/wptest/gllr_add_script *
- Check your functions.php file
- Even better, if you have command line access, from your main WP directory run:
- grep -rn /home/paddingt/public_html/wptest/ gllr_add_script *
- 回声php_info();
我的赌注是一个错误的插件.祝你好运.
My bet is a bad plugin. Good luck.
这篇关于500内部服务器错误-Wordpress的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文