[英]Wordpress error “You do not have sufficient permissions to access this page” from http-https
I am using wordpress 4.1 and I changed from http to https, then when I tried to login I am getting an error that 我正在使用wordpress 4.1,我从http更改为https,然后当我尝试登录时,我收到一个错误
You do not have sufficient permissions to access this page. 您没有足够的权限来访问此页面。
So could any one help me how to solve this problem. 所以任何人都可以帮助我解决这个问题。
I have this issue too, 我也有这个问题,
backup your .htaccess file, and use this 备份.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
then, in wp-config remove the https back to http 然后,在wp-config中将https删除回http
define('WP_HOME','http://www.example.com');
define('WP_SITEURL','http://www.example.com');
this should get you back to the dashboard, and you can start working on it again. 这应该让你回到仪表板,你可以再次开始工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.