Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

http to https

+2 votes
155 views
asked Oct 13, 2017 in Q2A Core by arjunsuresh
Since https is now free and google and browsers forcing us to migrate, I was trying to do the same. After getting the certificate and migrating all requests to https, next thing to do is to replace all image src in QA to https. Will the following query do the required change?

update qa_posts set content = REPLACE(content, 'http://example.com', 'https://example.com');
Q2A version: 1.8
commented Oct 16, 2017 by ProThoughts
I do see you moved your site to https, please share tips, it will help others.
commented Oct 16, 2017 by Arjun Suresh
yes, but without doing the above step which is required to change the img src URL to https or else browsers will show a warning or might not load the image. If someone can confirm the query, I can give the steps -- other steps are pretty easy anyway.
commented Oct 22, 2017 by ProThoughts
@Arjun Suresh, are you able to fix this? if yes, please write tips to migrate from http to https. thanks!
commented Oct 30, 2017 by Dr-Hack
shouldn't "Force SSL" fix this , there is force redirect to ssl .. where all http requests are changed to https...
thats what I did when i moved to https

Please log in or register to answer this question.

...