Opened 20 months ago
Last modified 20 months ago
#18680 new enhancement
Make SSL login-only possible (while leaving admin unencrypted)
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | General | Version: | 3.2.1 |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: | johnbillion@… |
Description (last modified by nacin)
There are two options to be set in wp-config.php to enforce secure connections.
With the following configuration, the login AND the backend will be done via SSL:
define( 'FORCE_SSL_ADMIN', false ); // or true define( 'FORCE_SSL_LOGIN', true ); // or false
As those are 'FORCE' parameters, one might consider it correct that, even though one is set to 'false', both will be via HTTPS.
However, WordPress is currently missing an option to have ONLY the login data sent encrypted and go on to the admin interface via a normal (non-encrypted) connection. That scenario requires additional redirections on the webserver.
Change History (4)
comment:1
in reply to:
↑ description
multimule — 20 months ago
comment:2
johnbillion — 20 months ago
- Cc johnbillion@… added
- Keywords reporter-feedback added
However, WordPress is currently missing an option to have ONLY the login data sent encrypted and go on to the admin interface via a normal (non-encrypted) connection.
I can't reproduce this. FORCE_SSL_LOGIN (set to true) controls the login data. FORCE_SSL_ADMIN controls the admin.
FORCE_SSL_ADMIN implies FORCE_SSL_LOGIN (if you lock down the admin, you lock down login data) but the reverse isn't true. FORCE_SSL_LOGIN does not make the admin https.

The two defines got screwed up by trac: