SMFHacks.com

SMF Gallery Pro => Support => Topic started by: smporten on March 22, 2018, 10:40:11 am

Title: switch from http to https
Post by: smporten on March 22, 2018, 10:40:11 am
Hello forum
I use the gallery 8.0 in my test forum, and gallery 7.0 on my working forum.
When i have tested the new SMF gallery pro 8.0 I will roll it out for my working forum.
In version 7, for 3 month ago, i changed http to https, but not all is working, my users can not see old pictures embedded in the posts, it call the old http, but I want to get it to work.
I have tryed to upgrade to gallery pro 7 on my test forum, to check about it will solve the problem.

After i changed my forum from http to https for free month ago, my forum posts there use content from the gallery don't call the right also my new https not work on old posts with content from gallery.
I hope anyone can explain for me how to fix this issue.
Thanks in advance.
Title: Re: switch from http to https
Post by: SMFHacks on March 22, 2018, 10:49:22 am
Backup your smf_messages table first

Then  run this query on your database
Code: [Select]
UPDATE `smf_messages` SET `body` = replace(`body`,'http://www.yoursite.com','https://www.yoursite.com')

Replacing yoursite.com with your site's domain