Can't access dashboard after SSL install
-
I am self-hosting my site on a Ubuntu server with Nginx as a reverse proxy to apache
I added an SSL to my site using the following tutorial
http://codex.wordpress.org/Administration_Over_SSLAfter adding the SSL my site was properly secured and functioned well, except that I could no longer get into my dashboard. I got an “insufficient privileges” error.
I installed WordPress HTTPS plugin
My wp-config.php has the following related settings:
define(‘FORCE_SSL_LOGIN’, true);
define(‘FORCE_SSL_ADMIN’, true);if ($_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’)
$_SERVER[‘HTTPS’]=’on’;define(‘WP_HOME’, ‘https://subdomain.doamin.com‘);
define(‘WP_SITEURL’, ‘https://subdomain.domain.com‘);And I added this line to my Nginx settings
proxy_set_header X-Forwarded_Proto https;
After all that I deleted wordpress HTTPS plugin from SSH (couldn’t login to do it otherwise). I set everything back to HTTP then tried again, this time I re-installed WordPress HTTPS plugin and set the setting to allow non-SSL login to admin area. The I started getting 404 errors immediately after clicking that. Now, even after erasing WordPress HTTPS plugin via SSH, getting back into the dashboard via HTTP and re-installing WordPress HTTPS it goes straight to the 404 error page upon activating the plugin. I get kicked out before I can even get to the settings for that plugin.
I still can’t get this figured out and it has added considerably to my gray hair count! Any ideas???
The topic ‘Can't access dashboard after SSL install’ is closed to new replies.