Admin With https "You do not have sufficient permissions to access this page."
-
Testing a new site.
Fresh 4.1.1 install with new db.
I have configured https in the siteurl and home fields.
This broke the site outright with an infinite loop error. Being behind a reverse proxy I added the following lines to the wp-config.php.
define(‘FORCE_SSL_ADMIN’, true);
define(‘FORCE_SSL_LOGIN’, true);
if ($_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’)
$_SERVER[‘HTTPS’]=’on’;There is presently no .htaccess file.
The site now works but after logging in as Admin I get the following error:
You do not have sufficient permissions to access this page.
Seems like a different scenario than some previously discussed threads as there are no DB issues as this is a new install.
- The topic ‘Admin With https "You do not have sufficient permissions to access this page."’ is closed to new replies.