+ Reply to Thread
Results 1 to 2 of 2

Thread: WordPress force HTTPS and change all HTTP links to HTTPS?

              
   
   
  1. #1
    Apprentice Kavoir.com's Avatar
    Join Date
    Aug 2012
    Posts
    13

    WordPress force HTTPS and change all HTTP links to HTTPS?

    I just installed SSL on one of my sites. While it's working well on the main site, it's not on the wordpress blog here. I have added this snippet in .htaccess of the blog:

    Code:
    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    But it's still not fully secure with some assets not in secure mode. I used Httpfox to check all the HTTP requests and all HTTP requests are correctly redirected to HTTPS. Now I don't know why it's still not fully secure. I thought redirecting all HTTP assets to HTTPS would be the deal in this case? Is it?

    If not, it seems the only option left for me is to manually change all HTTP assets (href, src, etc.) to HTTPS across all the content. Is there any easy way to achieve this for the entire WP blog? A plugin? This doesn't seem right to me as I'm afraid it would neglect one asset or two on some of the posts or pages.

    This really sucks.....any help would be appreciated!

  2. #2
    Student
    Join Date
    Jan 2013
    Location
    East Grinstead
    Posts
    53
    For the page to show as secure, all links in "view page source" must show https, merely redirecting them in not sufficient, as that is NOT was the browser looks at to decided it's secure.

    If they are all https, have a look inside any .js or .css files for links that have that may not be https
    DDoS Protected, LiteSpeed + LiteMage on CloudLinux with SSD Disks, R1Soft, Softaculous, SIteBuilder, BitNinja, LetsEncypt & Patchman
    █ UnixGuru Hosting: Super Fast, Stable, Secure, Scalable LiteSpeed Hosting
    █ Choose from Shared, Reseller and Elastic-Sites Hosting

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56