More in this section

Forums / General Discussions / Additional URLs don't allow subfolders in the path

Additional URLs don't allow subfolders in the path

8 posts, 0 answered
  1. John
    John avatar
    4 posts
    Registered:
    29 Mar 2010
    01 Sep 2011
    Link to this post
    I've set up multiple urls for a page, but they won't resolve unless I remove the forward slash in the path.

    Doesn't work:
    ~/uniquepath/1
    ~/uniquepath/2

    Works:
    ~/uniquepath-1
    ~/uniquepath-2

    Why?
    John

    (Sitefinity 4.1)
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    02 Sep 2011
    Link to this post
    Hello J Spens,

    There were some issues related to the additional urls in 4.1, however I was not able to reproduce the described issue using 4.1 1574. Can you confirm that this was the build you are using. What I did:

    1. Created a homepage.
    2. Created additional test page under homepage.
    3. Added those URLs to the testpage:

    ~/homepage/1
    ~/homepage-1

    The testpage was accessible using the both URLs. Correct me if the procedure is wrong.

    Regards,
    Victor Velev
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. John
    John avatar
    4 posts
    Registered:
    29 Mar 2010
    02 Sep 2011
    Link to this post
    Victor

    I'm using version 4.1.1574.0.

    Here's the steps I just used to reproduce the issue:
    1. Create a new page at the root named UrlTest. (/UrlTest)
    2. Allow multiple urls for the UrlTest page:
         ~/AdditionalUrl/1
         ~/AdditionalUrl-2
    3. View the test page (http://localhost:60876/UrlTest)
    4. Try the other urls:
         http://localhost:60876/AdditionalUrl/1 (fails 404)
         http://localhost:60876/AdditionalUrl-2 (works)

    Note:
    If I create an additional url ~/home/GoUrlTest for the page /UrlTest, it will redirect to the existing /home page instead of the /UrlTest page.

    Hope that helps,
    John
  4. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    03 Sep 2011
    Link to this post
    Hi John,

    I have done some profound testing and it seems that the issue is somehow related to caching.

    Firstly I created a page called newpage and inserted the additional urls you provided. The issue was not present. However I deleted the page and created UrlTest and applied the same additional urls. The problem surfaced when I tried to access the page from the same browser. There was a 404 message but it was referencing to the previously deleted page - newpage. Clearing the cache solved the problem as well as opening the site in another browser. Please review the attached video.


    All the best,
    Victor Velev
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  5. John
    John avatar
    4 posts
    Registered:
    29 Mar 2010
    20 Sep 2011
    Link to this post
    Hi Victor,

    I appreciate you looking into this. Unfortunately I don't get the same behavior as you do in the video. Clearing the cache or using a different browser that has never been to the site doesn't solve the problem for me. Can I provide you with any more information to help resolve this?

    Thanks,
    John
  6. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    22 Sep 2011
    Link to this post
    Hi John,

    It is possible that this was a bug in SP3 which was later fixed, because it was not reproducible on 4.2 1650 and the latest internal build. I would suggest you to upgrade your website to our latest official build as there many other fixes and features as well.

    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
  7. John
    John avatar
    4 posts
    Registered:
    29 Mar 2010
    27 Sep 2011
    Link to this post
    Victor,

    I've upgraded to 4.2 and the url redirect is working correctly. Thanks for your help.

    John
  8. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    30 Sep 2011
    Link to this post
    Hi John,

    Glad to hear that the issue has been resolved. I will be closing the thread for now, but if you experience more problems do not hesitate to open new one.

    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
8 posts, 0 answered