How can I make URL's work without the .ASPX extension?
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 :-$
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 :)
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][/code]
Alternatively, url rewriting might be an option. [url]http://forum.umbraco.org/yafpostst8320Clean-URLs.aspx[/url], for instance.
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
[url]http://forum.umbraco.org/yafpostst4312umbracoUrlAlias--extensionless-URLs.aspx#21255[/url]
How can I make URL's work without the .ASPX extension?
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 :-$
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
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][/code]
Alternatively, url rewriting might be an option. [url]http://forum.umbraco.org/yafpostst8320Clean-URLs.aspx[/url], for instance.
cheers,
doug.
Hi Chris,
Check this page in the Umbraco Wiki:
http://en.wikibooks.org/wiki/Umbraco/FAQ#HowcouldIUseDirectoryUrls.3F
I think that might be what you are looking for.
/Fredrik
Thank you both for your lightning fast replies!
Best regards,
Chris
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
[url]http://forum.umbraco.org/yafpostst4312umbracoUrlAlias--extensionless-URLs.aspx#21255[/url]
Warren :)
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/
is working on a reply...