I'm using umbraco 6 MVC - I've been reading about how you can override the DefaultUrlProvider and changing the Url. I have a chinese version of the site - all the structure is in chinese but my client dosen't want chinese urls..they just want the url to be a page number e.g
Thanks for the info..will take a look and let you know how I get on. I have a working solution at the moment using the umbracoUrlAlias and umbracoUrlName fields and a regex redirection statement in urlrewriting.config - but its not a great solution - would much prefer a MVC routing solution...
Changing url (link to document field)
Hi,
I'm using umbraco 6 MVC - I've been reading about how you can override the DefaultUrlProvider and changing the Url. I have a chinese version of the site - all the structure is in chinese but my client dosen't want chinese urls..they just want the url to be a page number e.g
http://www.mysite.com/page344
instead of
http://www.mysite/買賣房屋/賣房屋
Is this possible to do with override the DefaultUrlProvider? I have tried this but have had no luck so far...
Any help or suggestions would be welcome!
Thanks!
chinese characters never got displayed in the second url...but you get the picture
I remember this very example being discussed at a CodeGarden session this year (using the node IDs as URL segments). I can't remember the exact details unfortunately but the talk is streamed here: http://stream.umbraco.org/video/9921022/core-internals-for-website-development
Andy
Hi Andy,
Thanks for the info..will take a look and let you know how I get on. I have a working solution at the moment using the umbracoUrlAlias and umbracoUrlName fields and a regex redirection statement in urlrewriting.config - but its not a great solution - would much prefer a MVC routing solution...
Thanks
is working on a reply...