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 we have a site in umbraco 7. It's been live for a while.
The client wants to protect every page with ssl.
We have the site working fine if we type https://site but it also works http://site
How do I make it so every page defaults to https://
Try to see this blogpost http://www.jppinto.com/2009/04/automatically-redirect-http-requests-to-https-iis-7/ about how to redirect http to https, on IIS7.
Hope this helps,
Or try to see if you can use this redirect rule.
You are very lucky. I just uploaded an update to a nuget package that I work on which has an option in order to make such redirect.
First enable the CM Umbraco Tools section for your administrator account. After that reload the Umbraco Backoffice and you will see the CM Umbraco tools icon.
Expand the SEO tree and you will see the Permanent Redirect (301) tool. Click on it and the equivalent page will appear. At the top there is a button called Permanent Redirect Options. Click it and you will see a dropdown list. Select http to https and save the options. Now all the urls which uses the http will automatically redirected to https.
Aah I have never used Nuget on the server I just install the binaries from the umbraco download section. I will look into it.
Also thanks for the blog posts I will look into them today.
The package that I have in the umbraco download section has not this feature. I have not uploaded it yet. You can install the nuget package by doing the following steps.
Menu Tools -> Nuget Package Manager -> Package Manager Console
Type the following command and press Enter
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted