RedirectRules 3.0.0

Package for common Redirect rules.
Meant for Umbraco sites, but can be used on any site with Rewrite Module for IIS.
Features that makes is package great.
• No 301 chaining. You only redirect once, no matter how many things are wrong with the URL.
• Topdomains are enforced with prefixed www.
• Subdomains are enforced with no prefix of www.
• Whitelist of urls that are not meant to be transformed. This is meant for API's, Ajax calls or backend framework such as Umbraco.

Known issues:
• Domains with additional punctuation marks won't work as expected, unless as a subdomain.
• Domains such as mysite.co.uk won't work as expected because of the additional punctuation mark is counted as a subdomain.

Install-Package RedirectRules -Version 3.0.0
dotnet add package RedirectRules --version 3.0.0
<PackageReference Include="RedirectRules" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RedirectRules --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

3.0:
Gone from a internal package used on our own sites to a public release on the nuget.org repository for everyone to enjoy!
2.2:
Changed the nuget package function to work with web.config.transform rather than powershell code.
2.1.2:
Fixed a small bug with url's containing underscore "_" were being manipulated wrong.
Check have been modified to look at the beginning of the url.
2.1.1:
Removed a part of the redirect rules that was custom made.
2.1:
Fixed a whitelist bug for the backend causing a buggy layout.
2.0:
Removed the dependency on custom servervariables. The rules can now be used easily anywhere!
1.0:
Improved rules to avoid 301 chaining.

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.0 2,110 10/11/2013