Clean URLs in Umbraco

So one of the first things I noticed about Umbraco was that by default it doesn’t appear to use clean URLs. By this I mean the URL to your about page will look like I want it to look like

To do this is very simple. There is a line in your web.config file for your Umbraco website that will look like this:

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

You have probably already guessed what you have to do to get clean URLs. Just set value to true! 😉

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

Just a quick extra note for IIS6 folk. You need to do a bit extra than the above to get clean urls working


Published by

Alan Feekery

Developer, Gamer, Musician, Cyclist and big Motorsport fan... enjoys the odd cup of coffee :)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s