Copied to clipboard

Flag this post as spam?

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


  • J 447 posts 864 karma points
    Jan 08, 2020 @ 16:46
    J
    0

    Two different sites, one umbraco and https

    I have two websites with two different domain names set under Cultures and Hostnames i.e.

    site.com
    site2.com
    www.site.com
    www.site2.com
    

    When I added canonical URLs so when the user typed

    site.com it went to www.site.com

    site2.com went to www.site2.com

    Note the www. All works correctly when its http.

    I now have the site as https but i tweaked the web.config Url Rewriter and it doesnt redirect to https or if it does it only does one site.

    Does anyone know how to create this rewrite in web.config to achieve the above?

    Thanks

  • Joep 96 posts 698 karma points
    Jan 08, 2020 @ 17:31
    Joep
    100

    Hey, I think that this page will help you.

    -Joep

Please Sign in or register to post replies

Write your reply to:

Draft