Skip to content
An Umbraco package to switch a URL from HTTP to HTTPS (SSL)
C# ASP Batchfile
Branch: master
Clone or download
Pull request Compare This branch is even with leekelleher:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
package
src
tools/MSBuildTasks
.gitignore
CONTRIBUTING.md
LICENSE.md
README.md
build.cmd

README.md

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

You can’t perform that action at this time.