WordPress.org

Ideas

Better support for https

  1. Christiaan
    Member

    12345

    I'd like to see WordPress better support https.

    Two particular areas I find WordPress doesn't work well with https are:

    1. Forcing pages to use https. In particular, when you want to force an individual page to use https (currently there's not even a plugin that will do this).
    2. Because WordPress doesn't recognise https you end up having to hack plugins to get them to play nicely. So, as one example, when using a contact form plugin I'm required to change all instances of get_permalinlk() to the full https URL.
    Posted: 9 years ago #
  2. dicedtomatoe
    Member

    Christiaan I hope this helps.
    In the wp-includes/cononial.php file you have to change 'HOST_NAME' to 'SERVER_NAME' on line 48.

    At least this did it for me. I'm using 2.7 and my site is hosted on mediatemple.

    Posted: 9 years ago #
  3. Christiaan
    Member

    12345

    Hi diced, so how did you then choose which page you wanted to force to https?

    Posted: 9 years ago #
  4. Christiaan
    Member

    12345

    Here's another reason why WordPress needs better https support (specifically, in this case, the ability to force individual pages to https):

    - We have a couple of pages on our site that we need to serve over https.
    - Because there doesn't seem to be a (straightforward WordPress-friendly) way to force individual pages to https we've had to force the entire site to https.
    - Because of this some of our site is slower than it needs to be, we're more open to DOS attack and we can't embed things like YouTube content without throwing up a warning to people's browsers saying there is secure and nonsecure content.

    Posted: 9 years ago #

  5. Inactive

    12345

    I am trying to do the same thing. I need my /donate page to run under https so I set the URL manually instead of using list_pages

    href="https://..../donate">

    but WordPress then redirects to http:// after the page loads. Changing my blog address under settings to https:// does nothing to fix this problem.

    Ridiculous that I can't have a wordpress install under https:// without hacking some include file (which doesn't work for me anyway under 2.7)

    Posted: 9 years ago #
  6. mccormicky
    Member

    12345

    I vote for this would totally help me out on a couple websites.

    dicedtomatoes: I had no luck finding wp-includes/cononial.php.
    Did you mean to type canonical.php? Are you sure you are pointing people towards the correct file/filename?

    Posted: 9 years ago #
  7. Ben Huson
    Member

    12345

    Yep, being able to force a single page/post to be viewed under SSL would be very useful.

    Posted: 9 years ago #
  8. jrn
    Member

    12345

    This would be great for me. I'm kind of stunned it isn't available.

    Posted: 9 years ago #
  9. s3xn3
    Blocked

    ecuu çet
    hello ben celdum

    Posted: 9 years ago #
  10. jadik
    Member

    Who has a hack to turn get_permalink() into a secure HTTPS link?

    Posted: 9 years ago #

RSS feed for this topic

Reply »

You must log in to post.

  • Rating

    12345
    19 Votes
  • Status

    This is plugin territory