How to set an Orchard CMS module to be home page with code

Posted by

This will work for Orchard CMS Version 1.8.

  • Create a new module
  • Create a Routes.cs file in the module
  • Set the RouteDescriptor priority to something high like 99
  • Set the new route url to be an empty string

Here’s some example code for Routes.cs

Leave a Reply

Your email address will not be published. Required fields are marked *