Added support for extension-less URLs for the main pages