Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Roberts 74 posts 106 karma points c-trib
    Nov 10, 2013 @ 12:04
    Chris Roberts
    0

    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

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Nov 11, 2013 @ 08:13
    Richard Soeteman
    0

    Hi Chris,

    Think you need to republish the site to remove aspx extension from macro's

    Cheers,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft