Skip to content

dnwhte/umbraco-https-redirect

This branch is up to date with leekelleher/umbraco-https-redirect:master.

Folders and files

NameName
Last commit message
Last commit date
Sep 2, 2013
Feb 9, 2016
Feb 9, 2016
Sep 2, 2013
Jan 18, 2016
Feb 9, 2016
Feb 9, 2016
Feb 9, 2016
Jan 18, 2016

Repository files navigation

HTTPS Redirect for Umbraco

HTTPS Redirect provides a simple mechanism to switch a URL from HTTP to HTTPS (SSL) based on the document-type (alias), node id or template alias.

This package will add the following appSetting keys to your Web.config file...

  • HttpsRedirect:DocTypes - DocTypes - a comma separated list of doc type aliases that should be served as HTTPS.
  • HttpsRedirect:PageIds - PageIds - a comma separated list of page IDs that should be served as HTTPS.
  • HttpsRedirect:Properties - Properties - a comma separated list of property-aliases and values; in the format propertyAlias:value.
  • HttpsRedirect:Templates - Templates - a comma separated list of template aliases that should be served as HTTPS.
  • HttpsRedirect:StripPort - Strip Port - used to strip out the port portion of the URL - use this when you use a non-standard port internally to your firewall (e.g. 81 or 444).
  • HttpsRedirect:UseTemporaryRedirects - Use Temporary Redirects - boolean value indicating whether HTTPS redirects should be temporary (302).
  • HttpsRedirect:XForwardedProto - X-Forwarded-Proto - boolean value indicating whether to use a load balancer with SSL termination that adds the X-Forwarded-Proto header.

Getting Started

Installation

Note: HTTPS Redirect has been developed against Umbraco v6.1.2 and will support that version and above.

HTTPS Redirect can be installed from either Our Umbraco or build manually from the source-code:

Our Umbraco package repository

To install from Our Umbraco, please download the package from:

https://our.umbraco.org/projects/website-utilities/https-redirect/

Manual build

If you prefer, you can compile the project yourself, you'll need:

  • Visual Studio 2012 (or above)

To clone it locally click the "Clone in Windows" button above or run the following git commands.

git clone https://github.com/leekelleher/umbraco-https-redirect.git umbraco-https-redirect
cd umbraco-https-redirect
.\build.cmd

Contributing to this project

Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.

Contact

Have a question?

License

Copyright © 2011 Lee Kelleher, Umbrella Inc, Our Umbraco

Licensed under the MIT License

About

An Umbraco package to switch a URL from HTTP to HTTPS (SSL)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 85.7%
  • Classic ASP 13.4%
  • Batchfile 0.9%