Wordpress 管理员未加载 css/js
问题描述:
我在 Wordpress 网站上遇到管理员问题.我浏览了互联网,看到很多其他人也有同样的问题,但没有明确的解决方案.管理员显示如下:
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:
当我检查它时,我在 load-styles.php 和 load-scripts.php 上得到 500(内部服务器错误)em>
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?
答
在 wp-config.php
之前 require_once
加入以下代码到文件中:
In wp-config.php
before require_once
add below code into file :
define('CONCATENATE_SCRIPTS', false);