Skip to main content
Share Your Experience: Take the 2024 Developer Survey

All questions related to custom routing including route registration, pipeline configuration and execution.

Sitecore has a default routing mechanism, but you can add custom routes in MVC-based solutions. The safest and recommended way to add an MVC route is to add a processor in the Initialize pipeline, register the routes, and implement the route table in the RouteConfig class. This prevents you from inadvertently breaking any Sitecore routes.

To use a custom route, you must:

  • Define a custom route
  • Register the custom route

Refer to this doc for more details: https://doc.sitecore.com/en/developers/90/sitecore-experience-manager/use-mvc-routing.html