View Full Version : WordPress force HTTPS and change all HTTP links to HTTPS?

04-26-2015, 09:39 AM
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 (https://www.thedataplanet.com/press/). I have added this snippet in .htaccess of the blog:

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!

website designing
05-24-2016, 05:32 AM
Nice info!Thanks..

07-19-2016, 04:06 AM
Great post,Thanks for sharing this info!!

12-06-2016, 05:41 AM
I agree with this post.

11-23-2017, 02:34 AM
Yes it is

05-30-2018, 02:39 AM
Nice Information. Thanks for sharing.

11-14-2018, 07:07 AM
you have 2 ways
1- install and use Go Live Plugin in your wordpress dashboard
2- redirect 301 codes in your htaccess in your host root