[英]Wordpress error “You do not have sufficient permissions to access this page” from http-https
我正在使用wordpress 4.1,我从http更改为https,然后当我尝试登录时,我收到一个错误
您没有足够的权限来访问此页面。
所以任何人都可以帮助我解决这个问题。
我也有这个问题,
备份.htaccess文件,然后使用它
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
然后,在wp-config中将https删除回http
define('WP_HOME','http://www.example.com');
define('WP_SITEURL','http://www.example.com');
这应该让你回到仪表板,你可以再次开始工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.