I have the SITE_DOMAIN set as foo.example.com, this has a SSL for *.example.com
http://example.org
, is the url for the frontpage, this works. There is no certificate for example.org
. Now, when I access http://example.org/wp-admin
the following happens:
- Redirect from http://example.org/wp-admin to https://example.org/wp-admin
- Client (browser) issues a certificate warning, there is no certificate for
example.org
. - Client must make an exception for the certificate.
- Redirected from https://example.org/wp-admin to https://foo.example.com/wp-login.php
Is this intended behaviour? Why does WP make an intermediate redirect to https://example.org/wp-admin? Is this a known bug, and if so, what would be the bug-number?