I am working on a new Umbraco site and forgot to turn the DirectoryUrls setting on in the web.config.
I've turned it on now, and it appears to work in that I can remove the '.aspx' from my URLs and it serves up the right content.
However, all of my navigation macros are still rendering URLs with the '.aspx' extension, and when I create a page in Umbraco it shows the URL with the '.aspx'. I've even tried deleting all of my pages and recreating them, but I still get the extensions.
How do I convince Umbraco to use directory URLs... Has it got a copy of this setting in the database that I need to change, or something?
Problem switching DirectoryUrls on...
I am working on a new Umbraco site and forgot to turn the DirectoryUrls setting on in the web.config.
I've turned it on now, and it appears to work in that I can remove the '.aspx' from my URLs and it serves up the right content.
However, all of my navigation macros are still rendering URLs with the '.aspx' extension, and when I create a page in Umbraco it shows the URL with the '.aspx'. I've even tried deleting all of my pages and recreating them, but I still get the extensions.
How do I convince Umbraco to use directory URLs... Has it got a copy of this setting in the database that I need to change, or something?
Thanks,
- Chris
Hi Chris,
Think you need to republish the site to remove aspx extension from macro's
Cheers,
Richard
is working on a reply...