You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WordPress多站点Elementor无法正常使用及管理栏异常求助

WordPress多站点Elementor无法使用+管理栏异常问题求助

新搭建了WordPress多站点网络,原有站点运行完全正常,但新子站点激活Elementor后,插件完全无法显示、无法使用:
Elementor故障截图1
Elementor故障截图2

此外,即使停用Elementor,网站的管理栏仍无法正常显示:
管理栏异常截图

我的配置文件内容

wp-config.php相关代码

define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
define( 'DOMAIN_CURRENT_SITE', 'thisismysite.com' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );

原.htaccess代码

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) /$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ /$2 [L]
RewriteRule . index.php [L]
</IfModule>

与WordPress官方代码的差异

官方要求的代码中有两行不同:

RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $1 [L]

已尝试的操作

  • 最初使用官方代码时,无法访问新子站点的wp-admin;
  • 谷歌搜索后尝试启用/停用插件、创建新子站点,问题未解决;
  • 目前已改用WordPress官方代码,站点可正常访问,但Elementor仍无法使用,管理栏异常问题也依然存在。

恳请各位帮忙解决问题,感谢!


内容的提问来源于stack exchange,提问作者marcherz

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.28 00:47:23