Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Doogie Talons 183 posts 318 karma points
    Mar 08, 2016 @ 17:52
    Doogie Talons
    0

    SSL on an established site.

    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://

    Regards Doogie

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 08, 2016 @ 18:47
    Dennis Aaen
    0

    Hi Doogie,

    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,

    /Dennis

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 08, 2016 @ 18:51
    Dennis Aaen
    0

    Or try to see if you can use this redirect rule.

    https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67574-redirect-to-https

    /Dennis

  • Aristotelis Pitaridis 84 posts 402 karma points
    Mar 08, 2016 @ 19:11
    Aristotelis Pitaridis
    0

    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.

    https://www.nuget.org/packages/CMUmbracoTools/1.2.0

    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.

  • Doogie Talons 183 posts 318 karma points
    Mar 09, 2016 @ 11:20
    Doogie Talons
    0

    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.

    Rob

  • Aristotelis Pitaridis 84 posts 402 karma points
    Mar 09, 2016 @ 11:26
    Aristotelis Pitaridis
    0

    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

    Install-Package CMUmbracoTools

Please Sign in or register to post replies

Write your reply to:

Draft