Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12358
Latest: KekoWorld
New This Month: 1
New This Week: 2
New Today: 1
Stats
Total Posts: 40082
Total Topics: 7056
Most Online Today: 85
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 44
Total: 45

Author Topic: switch from http to https  (Read 923 times)

0 Members and 1 Guest are viewing this topic.

Offline smporten

  • Newbie
  • *
  • Posts: 32
    • View Profile
switch from http to https
« 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.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15042
    • View Profile
Re: switch from http to https
« Reply #1 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
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3081 Views
Last post March 30, 2007, 11:48:27 pm
by Hambil
1 Replies
6613 Views
Last post April 01, 2008, 07:25:24 am
by SMFHacks
6 Replies
3569 Views
Last post February 17, 2016, 09:52:09 am
by Orlando
9 Replies
2002 Views
Last post September 14, 2017, 10:58:38 pm
by ApplianceJunk
3 Replies
804 Views
Last post December 10, 2017, 08:08:42 pm
by SMFHacks

+- Recent Topics

Only variables should be passed by reference by Zaphod
Today at 11:19:11 am

Cannot install Gallery Pro on SMF 2.1 RC2 by Hatshepsut
March 19, 2020, 12:55:00 am

Newbie questions by SMFHacks
March 08, 2020, 09:28:17 am

Update detect mobile mode PHP5 to PHP7 by Plus
March 05, 2020, 11:19:05 am

Just a hello by Plus
March 05, 2020, 11:05:56 am

Enotify Copyright Problem by SMFHacks
March 04, 2020, 09:21:09 pm

Cannot import by shawnb
March 02, 2020, 12:17:00 pm

Error message with latest SMF 2.1 Github build by Hatshepsut
March 01, 2020, 10:06:10 am

[Mod]Avatars Display Integration by SMFHacks
February 15, 2020, 07:30:47 pm

[Mod]BBC Message Boxes 1.0 by SMFHacks
February 15, 2020, 07:26:46 pm

Powered by EzPortal