Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi everyone, I have installed Umbraco version 8.01 on Unoeuro.com. I set up the SSL certificate that is available and in Web.config changed this:
-- add key="Umbraco.Core.UseHttps" value="false" --
to this:
-- add key="Umbraco.Core.UseHttps" value="true" --
This works fine for backoffice.
However I would like to enforce https on Front-end as well but everything I tried turns into an error.
Does anyone have a great way to ensure and enforce http > https in version 8.01?
//Carsten - Denmark
You can add this to your webconfig or to a separate config file and reference that file from the web.config, documentation is here: https://our.umbraco.com/documentation/reference/routing/IISRewriteRules/
<rule name="Force HTTPS" enabled="true" stopProcessing="true"> <match url="(.*)" /> <conditions logicalGrouping="MatchAny"> <add input="{HTTPS}" pattern="off" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" /> </rule>
Thank you Amir, I will give it a go
//Carsten
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Redirect to https
Hi everyone, I have installed Umbraco version 8.01 on Unoeuro.com. I set up the SSL certificate that is available and in Web.config changed this:
-- add key="Umbraco.Core.UseHttps" value="false" --
to this:
-- add key="Umbraco.Core.UseHttps" value="true" --
This works fine for backoffice.
However I would like to enforce https on Front-end as well but everything I tried turns into an error.
Does anyone have a great way to ensure and enforce http > https in version 8.01?
//Carsten - Denmark
You can add this to your webconfig or to a separate config file and reference that file from the web.config, documentation is here: https://our.umbraco.com/documentation/reference/routing/IISRewriteRules/
Thank you Amir, I will give it a go
//Carsten
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.