UnofficialJMBSupport.Com > General Discussion

How to fix preview url after switching site to https

(1/1)

The Dawg:
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: ---
UPDATE tx_gallery_previews SET preview_url = REPLACE(preview_url, 'http:', 'https:') WHERE preview_url LIKE ('http:%');
--- End code ---

Done deal.

Navigation

[0] Message Index

Go to full version