You are not logged in.
Pages: 1
Hi,
We need to change the host name of our site (http -> https). Looking through the database it seems quite a lot of the links (mostly <img src=..>) in bigtree_pages have been embedded with the full path.
Is there an easy way to update these links automatically or will they need updating manually one by one?
Thanks
Offline
Generally links back to the site should either be encoded as {staticroot} or {wwwroot} which will update with your configuration file. I've run into some sites where for whatever reason they didn't and in those cases I'd advise replacing the web root with {staticroot} for any image references directly in the DB (or re-saving the page *should* do it).
For references to outside URLs you pretty much have to either change everything in the database or run $cms->makeSecure(); on all your templates. That will cause the site output to be fed through an output buffer filter that rewrites http:// src references to https:// (but it's a small performance hit).
Offline
Pages: 1