Our Forum has Moved

This site is our old forum and is only here for achive until we get proper 301 redirects setup to make Google happy.

Please use our new community site - Our Umbraco - which contains an improved forum, documentation wiki, package repository and a member locator.

Go to Our Umbraco now

Learn everything about Umbraco
How can I make URL's work without the .ASPX extension? Options
readingdancer
Posted: Wednesday, May 13, 2009 4:17:34 PM

Rank: Enthusiast

Joined: 9/27/2007
Posts: 35
Location: Reading, UK
Hi All,

One of my clients has asked how he can create URL's without the .ASPX extension, I assume this is probably something easy that I should already know. But, I don't Shhh

I.e. We would like the following URL to work:

http://www.ava.co.uk/products


Which as you will see if you click on it, you currently get a 404 error.

Where as:

The Agency Software products page is where I want it to go.

The reason for this is the client is looking doing off line advertising, radio etc and hence wants short easy to remember URL's, it's not often you hear a radio advert giving you a URL with .aspx at the end :)

Thanks All,

Chris


Chris Houston - Umbraco Developer for over 2 years.
Boating Blog - Narrowboat Blog - Website on it's way...Vizioz
drobar
Posted: Wednesday, May 13, 2009 4:27:47 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 2,020
Location: MA, USA; Cambridge, UK
You're looking for 'directory urls'... search the forum for lots of info and a few things to keep an eye out for. The web.config setting is:
Code:
<add key="umbracoUseDirectoryUrls" value="true" />


Alternatively, url rewriting might be an option. http://forum.umbraco.org/yaf_postst8320_Clean-URLs.aspx, for instance.

cheers,
doug.

MVP 2007-2009 - Percipient Studios - Percipient Blog
sewen
Posted: Wednesday, May 13, 2009 4:29:54 PM

Rank: Newbie

Joined: 2/16/2009
Posts: 1
Location: Sweden
Hi Chris,

Check this page in the Umbraco Wiki:
http://en.wikibooks.org/wiki/Umbraco/FAQ#How_could_I_Use_DirectoryUrls.3F

I think that might be what you are looking for.

/Fredrik
readingdancer
Posted: Wednesday, May 13, 2009 4:33:54 PM

Rank: Enthusiast

Joined: 9/27/2007
Posts: 35
Location: Reading, UK
Thank you both for your lightning fast replies!

Best regards,

Chris

Chris Houston - Umbraco Developer for over 2 years.
Boating Blog - Narrowboat Blog - Website on it's way...Vizioz
warren
Posted: Wednesday, May 13, 2009 4:36:24 PM

Rank: Umbracoholic

Joined: 7/19/2006
Posts: 1,025
Location: Benfleet, Essex, UK
Well I will contribute my answer to the mix of this.

Ismail did a nice step by step tutorial on how to setup extensionless URL's with Umbraco
http://forum.umbraco.org/yaf_postst4312_umbracoUrlAlias--extensionless-URLs.aspx#21255

Warren :)

Warren Buckley an Umbraco MVP 08-09 & level 1 certified developer

Are you NEW to Umbraco? Download CWS to help you learn Umbraco quickly
NOW Available from the Official Umbraco Package Repository
raly
Posted: Monday, May 18, 2009 9:37:24 PM

Rank: Newbie

Joined: 4/15/2009
Posts: 21
Location: Aarhus, Denmark
Back in January I made a blog post where I tell how to do it in both IIS 5 and 6

http://lynggaard.nu/2009/01/even-nicer-urls-in-umbraco/

Company site
My personal blog on Umbraco
Our Open Source contribution

The forum has moved

This forum is no longer in use, so you can't reply to this message - please go to Our Umbraco

Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.