Releases: oopanuga/Seo-Pack
Releases · oopanuga/Seo-Pack
2.0.0
- Simplified access to Html helpers e.g. @Html.UnpackSeo().Title("some title") should now be accessed via @Html.SpTitle("some title")
- Renamed Url extension methods RouteCanonicalUrl to SpRouteUrl and ActionCanonicalUrl to SpActionUrl
- Renamed RedirectToCanonicalUrlAttribute to UrlPolicyCheckAttribute
- Added support for skipping url policy check filter i.e. UrlPolicyCheckAttribute via ISkipUrlPolicyCheckFilter marker interface interface
- Removed non trailing slash check in UrlPolicyCheckAttribute (formerly RedirectToCanonicalUrlAttribute) to provide loose coupling.
- Updated NoTrailingSlashAttribute to implement ISkipUrlPolicyCheckFilter marker interface. This can be used on actions that render file content e.g. robots.txt
- Added new MatchUrlAttribute for matching/comparing request urls with supplied ones. It does a redirect to the supplied url if urls don't match
- Updated tests accordingly