Multiple URLs failing in 5.0 - Bugs & Issues - Bugs & Issues - Progress Community
 Bugs & Issues

Multiple URLs failing in 5.0

  • 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
    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
  • 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
  • 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"/>

    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
  • 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?
  • 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