Small library which provides extensions for the ASP.NET routing system providing cleaner urls that are lower-case and include a trailing slash.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


What is TidyRouting?

TidyRouting is a small library that extends the ASP.NET MVC routing system to provide cleaner urls. Traditionally routes in ASP.NET MVC are created in proper-case with no trailing slash. This not only looks bad but is bad for SEO. TidyRouting makes sure that all urls are created in lower-case and are given a trailing slash.

For more information about the impacts on SEO take a look at and

How do I get started?

Once you have added TidyRouting to your project you simply need to replace your traditional route mappings with TidyRoute. For example,

using TidyRouting

public static void RegisterRoutes(RouteCollection routes)

    routes.MapTidyRoute( // changed from routes.MapRoute
        new { controller = "Home", action = "Index", id = UrlParameter.Optional }

Where can I get it?

First, install NuGet. Then, install TidyRouting from the package manager console:

PM> Install-Package TidyRouting