Copied to clipboard

Flag this post as spam?

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


  • Paul Brown 39 posts 80 karma points
    Mar 14, 2013 @ 00:31
    Paul Brown
    0

    Mvc is On but site still shows .aspx extensions

    ...why is this?

    All my links are 

    /clients.aspx
    /contact-us.aspx

    Thoughts apreciated,

    Paul

    Note: Running 6.0.2

     

  • Tom Fulton 2030 posts 4996 karma points c-trib
    Mar 14, 2013 @ 05:36
    Tom Fulton
    101

    Hi Paul,

    The MVC option just changes the templating engine, it doesn't have any effect on the page URLs.

    To turn off the extensions so you get pages like /contact-us/ instead, change this setting in the web.config:

    <add key="umbracoUseDirectoryUrls" value="true" />

    Hope this helps,
    Tom 

  • Paul Brown 39 posts 80 karma points
    Mar 14, 2013 @ 10:17
    Paul Brown
    0

    Awesome Tom thanks!

Please Sign in or register to post replies

Write your reply to:

Draft