Problems Requiring HTTPS and Preview
I am having an issue I hope someone can help me with.
I am requiring HTTPS for CMSB (Only allow users to login via secure HTTPS connections). It is working fine. However when a user clicks on a Preview button for a section, the page preview link is sent as HTTPS as well and the CSS, JS, and other related files are evidently not being linked. As a result the page is straight HTML with no styling. What do I need to do here??
Your help is appreciated!
And to add to what Zicky shared, you can actually remove the http: or https: part (called the "scheme") and use an url like this:
<link href="//yourdomain.com/css/styles.css" rel="stylesheet" />
And it will use whatever scheme (http: or https:) you're already on.
Let me know if that solves it or if you continue to have issues.