• Right, I have the following setup.

    WordPress address (URL): subdomain.domain.com
    Blog address (URL): domain.com

    The wp-admin folder is protected via .htaccess (basic auth).

    Issue 1)
    Now this works fine, I can log into the admin CP. However, the blog doesn’t show me as logged in when I browse around. Also, to be able to login at all I have to remove the .htaccess rewrite that WP makes from the subdomain (as in, the main WP folder) or I get redirected to domain.com/wp-admin which doesn’t exist and thus it doesn’t work (the guide on the codex doesn’t mention this, and only says to copy it).

    Issue 2)
    If I put the following into wp-config.php

    define(‘FORCE_SSL_ADMIN’, true);
    define(‘FORCE_SSL_LOGIN’, true);

    and try to visit subdomain.domain.com/wp-admin I get redirected to domain.com/wp-admin which doesn’t work since that doesn’t exist.

    What am I doing wrong here and how do I fix it? I have disabled all plugins so I believe this is not a plugin issue.

The topic ‘Login and SSL issues’ is closed to new replies.