简体   繁体   中英

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

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

# 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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM