Last post Mar 25, 2020 09:47 AM by yij sun
Mar 24, 2020 09:37 AM|hamed_1983|LINK
I'm using friendly url inside my Global.asax (with RegisterRoutes() method inside Application_Start event), it works correctly.
My problem is that when i use the original page address, Url friendly does not works! for example, I have a page named 'About.aspx' & the friendly name is 'Company-Information', When i type '~/About.aspx' it does not changes to '~/Company-Information'!
Note : My main problem is that i've using SiteMap datasource. hence, i've used original page name instead of friendly name!!
Can anybody help me how to solve my problem?
thanks in advance
Mar 25, 2020 09:47 AM|yij sun|LINK
Accroding to your description,as far as I think,it is impossible that change '~/About.aspx' to '~/Company-Information' using friendly url.
I suggest you could use url rewrite in web config.
More details,you could refer to below article: