我对WordPress有疑问。该网站工作正常,但在管理面板上,各种页面,如编辑帖子、安装插件、添加新插件、添加新页面、设置 将我重定向到主页。我疯狂地搜索了 3 天,但我刚刚发现了 mod_security 问题。结果对我来说也没用。
这是我的 .htaccess 文件
重写引擎开启 RewriteBase / RewriteCond /home/gokkur/public_html/wp-content/sitemaps%{REQUEST_URI} -f RewriteRule \.xml(\.gz)?$ /wp-content/sitemaps%{REQUEST_URI} [L] 重写规则 ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d 重写规则。/index.php [L] SecFilterEngine 关闭 SecFilterScanPOST 关闭