Multiple URLs failing in 5.0

Posted by Community Admin on 04-Aug-2018 17:39

Multiple URLs failing in 5.0

All Replies

Posted by Community Admin on 26-Mar-2012 00:00
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
Posted by Community Admin on 28-Mar-2012 00:00
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
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Posted by Community Admin on 28-Mar-2012 00:00
Thanks for looking into this for me, Victor. Yes, you are correct with your understanding.
I’m not using any special characters that I’m aware of. Underline and hyphen are web standard characters for page names. I really believe the issue lies in the area of the .aspx that is getting appended to my short url.
Thanks, again, for your help. I’m eager to hear back on your recommendation.
Warren
Posted by Community Admin on 28-Mar-2012 00:00
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
Posted by Community Admin on 28-Mar-2012 00:00
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
Posted by Community Admin on 02-Apr-2012 00:00
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"/>

Kind regards,
Victor Velev
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Posted by Community Admin on 03-Apr-2012 00:00
So how is the multiple urls feature supposed to work if the original page, like all pages in sitefinity, ends with .aspx?

Also, did you receive the post I send you this morning about the test I did this morning?
Posted by Community Admin on 04-Apr-2012 00:00
Hello Warren,

I have answered you in the support ticket.

Regards,
Victor Velev
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
This thread is closed