-
- 5 Posts
Hi Everyone,
I'm trying to move a site over to https
I've tried a few different ways however the content seems to break.
I've tried the rewrite engine rule in .htaccess that seems to remove the CSS from the site
I've also tried changing the Sever Type: server_protocol from http to https. That seems to muddle up content and remove some CSS.
What do I need to do to get my site switched over?
Thank you
-
- 571 Posts
Mark Hamstra has written an excellent blog post that covers what you need to do.
https://www.markhamstra.com/modx/2012/07/3-tips-for-serving-a-modx-site-over-ssl/
-
- 463 Posts
Maybe post up your redacted htacccess file?
-
- 24,544 Posts
Be sure you have this exact tag (with the exclamation point) in the head section of all templates:
<base href="[[!++site_url]]" />