Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[liberationtech] HTTPS links on wordpress blog post have S removed automatically, odd

Frank Corrigan email at
Thu May 5 12:58:47 PDT 2011

Thanks for the feedback. I am not using a selfhosted WP blog and might
not have explained myself well enough, for a better explanation with
images anyone can download more info via:

I will be contacting wordpress direct, not happy with any blog system
than changes a url I add to a post from a HTTPS url to a plain HTTP one,
this is not about redirecting, this is about changing a link I add to a
post. I think this has broad implication users of blogs, as they like me
could be adding many urls with HTTPS links, only to discover the S is
removed from the blog post BEFORE it is clicked on...


----- Original message -----
From: "SiNA" <sina at>
To: "Frank Corrigan" <email at>
Cc: "Liberation Technologies" <liberationtech at>
Date: Thu, 05 May 2011 11:44:50 -0700
Subject: Re: [liberationtech] HTTPS links on wordpress blog post have S
removed automatically, odd

Try adding this to wp-config.php, it should make all the core parts of
wordpress, use https for urls that are loading from an HTTPS site:

if(strlen(strstr( $_SERVER['SERVER_PROTOCOL'],"HTTPS"))>0) {
    define('WP_HOME',    'https://' . $_SERVER['HTTP_HOST'] . '');
    define('WP_SITEURL',     'https://' . $_SERVER['HTTP_HOST'] . '');
else {
    define('WP_HOME',    'http://' . $_SERVER['HTTP_HOST'] . '');
    define('WP_SITEURL',     'http://' . $_SERVER['HTTP_HOST'] . '');

Hope it helps!

pgp 0x0B47D56D

On 05/05/2011 05:25 AM, Frank Corrigan wrote:
> PS:
> Below is the html code snippet for the page, (from within the
> Dashboard) that confirms HTTPS is rewritten to HTTP
> <strong>Note:</strong> When visiting <a
> href=""></a> it
> automatically redirects to this page<a
> href=""
> target="_blank">: </a><a title="Secure contact form over https
> encryption"
> href=""
> target="_blank"></a>
> ? (libtech note..)
> Thanks
> Frank
> ----- Original message -----
> From: "Frank Corrigan" <email at>
> To: "Liberation Technologies" <liberationtech at>
> Date: Thu, 05 May 2011 13:11:23 +0100
> Subject: HTTPS links on wordpress blog post have S removed
> automatically, odd
> I was setting up a 'secure' https contact page at:
> But when I post a link on the above blog page, it is overwritten by
> to remove the S in HTTPS, this is odd.
> In summary when I add this link to the blog:
> httpS://
> it becomes:
> Clearly this action seems to be hard coded into - I have
> replicated this problem a nuber of times, ensured I do not have a chache
> of the old page and added a ? after the link to ensure it is the latest
> version of the blog post.
> I cannot expect visitors to this page to have the HTTPS Everywhere
> add-on enabled, at least when I auto redirect to this page from
> it does at least stay on the HTTPS
> version.
> Thanks
> Frank
> _______________________________________________
> liberationtech mailing list
> liberationtech at
> Should you need to change your subscription options, please go to:
> If you would like to receive a daily digest, click "yes" (once you click above) next to "would you like to receive list mail batched in a daily digest?"
> You will need the user name and password you receive from the list moderator in monthly reminders.
> Should you need immediate assistance, please contact the list moderator.
> Please don't forget to follow us on!/Liberationtech

More information about the liberationtech mailing list