1

In wordpress, i have used nginx and done https the whole site. But when i want to access admin after SSL. I got this

You do not have sufficient permissions to access this page.

I have tried many things.

define('FORCE_SSL_ADMIN', true);
define('FORCE_SSL_LOGIN', true);
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
$_SERVER['HTTPS']='on';

But still i am getting the same issue. So Is there any solution for this ? Thank you.

Ranjit
  • 1,684
  • 9
  • 29
  • 61
  • Did you try a SSL Plugin? May it be a server configuration issue? – Blackbam Apr 05 '16 at 12:13
  • I have a ssl plugin. problem is that i cant access the admin. – Ranjit Apr 05 '16 at 12:14
  • 2
    I got the solution for it from http://stackoverflow.com/questions/27193575/wordpress-cloudfront-flexible-ssl-ends-up-in-redirect-loop-https/27193576#27193576 – Ranjit Apr 06 '16 at 06:03

0 Answers0