Author Topic: How to fix preview url after switching site to https  (Read 304 times)

0 Members and 1 Guest are viewing this topic.

Offline The Dawg

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
How to fix preview url after switching site to https
« on: November 04, 2018, 01:32:32 AM »
You will notice that the preview_url is hardcoded in the database, so it will not dynamically change once you add a SSL cert to your site.  You will need to modify the database to update this.

*Always backup before attempting database modifications*

After you select your database, run this command :

Code: [Select]
UPDATE tx_gallery_previews SET preview_url = REPLACE(preview_url, 'http:', 'https:') WHERE preview_url LIKE ('http:%');

Done deal.

Unofficial JMB Support Forums

How to fix preview url after switching site to https
« on: November 04, 2018, 01:32:32 AM »


Tags:
 

Related Topics

  Subject / Started by Replies Last post
12 Replies
5986 Views
Last post November 21, 2013, 10:48:28 AM
by a4evermedia
2 Replies
1005 Views
Last post March 25, 2013, 06:16:47 AM
by vince81540
2 Replies
851 Views
Last post March 03, 2014, 06:14:24 PM
by scully
0 Replies
947 Views
Last post May 19, 2015, 08:32:34 PM
by mrsshow
0 Replies
853 Views
Last post April 24, 2017, 11:44:15 AM
by hotndirtybabes