You can set it in the site asset > URLs screen and uncheck the option for http. This will cascade to all children.
If you needed to allow a section within your to use a non https protocol then you could move it under another site asset, set the url to whatever the current url is (eg www.site.com/path/etc), then check the http option.
This looks like a great new feature Bart. Unfortunately, we are on 5.2 and recently set up thousands of indivisual remaps, which took a lot of effort and time.
How would you go about doing this with remap rules? I’ve given it a quick go with |http://site/design/main.css| -> https://site/design/main.css
but it didn’t work (on _nocache)
Actually, I’m working on a 5.4.1.3 system and I’m having troubles with the remap rules.
currently attempting: |site.nsw.gov.au| -> www.site.nsw.gov.au
Should this remap redirect the request to the new URL and the URL display in the address bar? I can’t see any difference in the address bar when this rule is enabled and I attempt to visit site.nsw.gov.au.
No they can’t. If you just want to redirect from HTTP to HTTPS for a site, it’s actually probably
best to just remove HTTP completely and let Matrix automatically redirect the user, you don’t need remap rules for that.
Do you have the “site.nsw.gov.au” URL also applied to your site asset? Because the remap rules will only redirect to new URLs if that URL doesn’t actually belong to an asset in the system already. In which case, you’d just need to remove that URL (domain) from the site asset and from all sub pages under that site.
In a few weeks the site will have certificates applied throughout and can turn off HTTP but it is a bit dangerous to just turn off HTTP and hope for the best, it would be good if the ./?a= algorithm could continue the protocol so that HTTPS testing would be easier.
No it’s not. This shouldn’t be happening, unless you are looking at a cached version of the nested standard page that has the link to the CSS file? (Try with /_nocache ?)
Also, make sure that the CSS file actually has a HTTPS url available on it as well.