Multiple URLs failing in 5.0
I'm attempting to map http://v-sitefinity/what_we_do/medical_supply_program.aspx to ~/aid. I tested this by going to http://v-sitefinity/aid and got a 404. I then attempted to access http://v-sitefinity/aid.aspx and it worked.
How do I get rid of the .aspx at the end of my short url? Please note that I am on Sitefinity 5.0 in a new installation environment. Do I have to set something in IIS or web.config???
Thanks for your help,
Warren
Hello Warren,
If I understand you correctly you have a page called:
http://v-sitefinity/what_we_do/medical_supply_program.aspx
which you want to have an additional url of:
http://v-sitefinity/aid
is this scenario correct? By default extensions and special symbols are forbidden in Sitefinity 4.3+, so you may be experiencing problems with such symbols in your url. If possible provide screenshots of the page's properties so we can get a better idea of your situation.
Kind regards,
Victor Velev
the Telerik team
Hey Warren,
Correct me if I'm wrong but is it that you have an OLD Url with a .aspx extension and you want it to 301 over to /aid using the Multiple Urls field?
Is that right, or am I off base?
Steve
I'd like the user to type the url http://v-sitefinity/aid and the user lands on http://v-sitefinity/what_we_do/medical_supply_program.aspx. Simply a short-cut url.
Thanks for your help,
Warren
Hello Warren,
Special characters ( such as the dot in the ".aspx" ) have been forbidden in the urls and additional url fields of content items and pages since they used to automatically generate 404 errors, because the links were not parsed as they should.
What I can suggest you as a workaround is to use a 3rd party url rewriter module (urlrewiter.net for example). However if you use a rewriter, it should iterate over all the pages and for each additional url of a page generate a string like that:
<
rewrite
url
=
"~/additionalUrl1"
to
=
"~/yourUrl.aspx"
/>
<
rewrite
url
=
"~/additionalUrl2"
to
=
"~/yourUrl.aspx"
/>
So how is the multiple urls feature supposed to work if the original page, like all pages in sitefinity, ends with .aspx?
Hello Warren,
I have answered you in the support ticket.
Regards,
Victor Velev
the Telerik team