I am looking at trying to change certain urls for example
/go-further.aspx
to
/go-further
I can't reconfigure Umbraco to use extensionless urls as certain urls on the site need to remain as they are currently. Could someone help me with the necessary url rewriting required to do this.
But... How many pages are you going to be dealing with? Why not configure extensionless URLs across the whole site? There's no reason why a request to somepage.aspx would fail in that scenario.
url rewriting
Hi
I am looking at trying to change certain urls for example
/go-further.aspx
to
/go-further
I can't reconfigure Umbraco to use extensionless urls as certain urls on the site need to remain as they are currently. Could someone help me with the necessary url rewriting required to do this.
Thanks
Hi Ian,
This should be pretty simple if you have a small set of pages you need to rewrite. In your /config/UrlRewriting.config, your example would be:
But... How many pages are you going to be dealing with? Why not configure extensionless URLs across the whole site? There's no reason why a request to somepage.aspx would fail in that scenario.
Hope that helps.
Even if you enable extensionless urls, you can still access pages with the .aspx extension...
Why do some pages require the extension?
is working on a reply...