[wp-trac] [WordPress Trac] #20253: SSL login in custom port
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 18 09:08:13 UTC 2012
#20253: SSL login in custom port
-------------------------+-----------------------------
Reporter: rseabra | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Security | Version:
Severity: normal | Keywords: has-patch ssl
-------------------------+-----------------------------
From my blog article, http://blog.1407.org/2012/03/18/log-into-wordpress-
with-ssl-on-custom-port-if-needed/
In order to login into WordPress with SSL you just need to add the
following to wp-config.php:
{{{
define(‘FORCE_SSL_LOGIN’, true);
define(‘FORCE_SSL_ADMIN’, true);
}}}
But that redirects you to https://www.yourDomain.org/. What if you need to
redirect into https://www.yourDomain.org:8443/ ? What then?
Well, the following patch will allow you to add a property called
CUSTOM_PORT which you will define as your desired port. In case of my
small example, 8443 like this:
{{{
define(‘CUSTOM_PORT’, 83);
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20253>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list