最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

500 internal server error on wp-admin only

programmeradmin0浏览0评论

I am getting a 500 internal server error when I try to log into www.mysite/wp-admin/ and www.mysite/wp-login.php.

  • The actual site is up and running just fine so it cannot be a database error.
  • I have stripped the plugins from the site through FTP.
  • I have re-copied the .htaccess file and put in what WordPress recommended.
  • I even went in and define('RELOCATE',true) as WordPress suggested.

None of these worked. I am not sure what else it could be because the main site is working just not the admin side. Has anyone come across this issue? If so, how did you fix it?

I am getting a 500 internal server error when I try to log into www.mysite/wp-admin/ and www.mysite/wp-login.php.

  • The actual site is up and running just fine so it cannot be a database error.
  • I have stripped the plugins from the site through FTP.
  • I have re-copied the .htaccess file and put in what WordPress recommended.
  • I even went in and define('RELOCATE',true) as WordPress suggested.

None of these worked. I am not sure what else it could be because the main site is working just not the admin side. Has anyone come across this issue? If so, how did you fix it?

Share Improve this question edited Mar 10, 2016 at 4:43 Sven 3,6841 gold badge35 silver badges48 bronze badges asked Mar 9, 2016 at 20:42 kingcobra1986kingcobra1986 1111 silver badge3 bronze badges 5
  • 1 Have you enabled WP_DEBUG? – czerspalace Commented Mar 9, 2016 at 21:12
  • It says this: Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/instant/public_html/wp-includes/functions.php on line 3624 – kingcobra1986 Commented Mar 9, 2016 at 21:20
  • but it looks as if that line is just the error message – kingcobra1986 Commented Mar 9, 2016 at 21:21
  • did you check the .htaccess in wp-admin folder. it could be corrupt. disable the plugins that has access to wp dashboard and admin area. – pbu Commented Mar 9, 2016 at 21:40
  • There is no .htaccess file in the wp-admin directory. Just the root directory. I have disabled all of the plugins and it still didn't work. – kingcobra1986 Commented Mar 9, 2016 at 21:46
Add a comment  | 

1 Answer 1

Reset to default -1

500 can be caused due to these ->

Corrupted WP core files Corrupted .htaccess files Problematic plugins PHP memory limit issues Problematic theme

As you already

  • I have re-copied the .htaccess file and put in what WordPress recommended.
  • I have stripped the plugins from the site through FTP.

I think Upload fresh copy of wp-admin and wp-includes to your WordPress site Can help.

This article has other solutions too, Please do check https://www.navthemes/http-error-500-wordpress/

发布评论

评论列表(0)

  1. 暂无评论