Additional URLs don't allow subfolders in the path
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)
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 >>
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 (localhost:60876/UrlTest)
4. Try the other urls:
localhost:60876/.../1 (fails 404)
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
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 >>
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
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
Victor,
I've upgraded to 4.2 and the url redirect is working correctly. Thanks for your help.
John
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