WordPress force HTTPS and change all HTTP links to HTTPS?

2 replies
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!
#change #force #http #https #links #plugin
  • Profile picture of the author kaufenpreis
    Banned
    Have you changed your URL in the WP settings? When it was first installed you gave it the full URL to use, it will use that until you change it.
    {{ DiscussionBoard.errors[10023838].message }}
  • Profile picture of the author KenWeiLL
    It's not fully secure because you have links on your Wordpress blog that use http instead of https.

    There used to be a Wordpress Plugin that forces SSL per page but it's no longer being updated and maintained. "manually change all HTTP assets (href, src, etc.) to HTTPS across all the content" would be a good idea but it will be time consuming. And you'll never know if all the links with https will work or not. Some sites are not automatically set to convert https to http. Of course, the site will open with https even though they're not setup with SSL but the website look will be messy. (Btw, I'm talking about external links here)

    Your blog page does contain 1 external link as http. That's why it's noted as insecure. Converting that link to https wil not work as the website will not work if you change it to https.
    {{ DiscussionBoard.errors[10030890].message }}

Trending Topics