I'm having a problem with the admin on a Wordpress site. I've scoured the interwebs and seen lots of other people with the same problem, but no definite solution. The admin is showing like this:
And when I inspect it, I get a 500 (Internal Server Error) on both load-styles.php and load-scripts.php
Anyone know what's up, and how to rectify?
Go to WordPress Admin > Appearance > Admin CSS MU and add the custom CSS you want. For Multisites, the settings page will be in the Appearance > Admin CSS MU of the main site. Only network admins can add/edit CSS.
Common reasons why you can't access wp-adminYour login credentials (username/password) are incorrect. You're being blocked by your security plugin. You changed the WordPress login URL. Your WordPress memory limit is too low.
In wp-config.php
before require_once
add below code into file :
define('CONCATENATE_SCRIPTS', false);
Just to keep everything in one answer, this worked for me:
define('FORCE_SSL_LOGIN', true); define('FORCE_SSL_ADMIN', true); define( 'CONCATENATE_SCRIPTS', false ); define( 'SCRIPT_DEBUG', true );
After page refreshing and it looks OK, maybe after re-login, set SCRIPT_DEBUG to false.
Don't forget about those last two settings if you're using a plugins for debugging or site optimization - though such plugins might override those settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With