Cannot create additional content URL with a space?
Also it would appear that while you can add querystring parameters, the redirect does not work properly. Example:
~/Support/Self-Help.aspx?section=training-videos
Hello Dave,
You can modify the regular expression which validates the additional urls to allow "spaces" and other characters you would like to include in the url.
To do this, please go to Administration -> Settings -> Advanced -> ContentView -> Controls -> FrontendPages -> Views -> FrontendPagesCreate -> Sections -> AdvancedOptionsSection -> Fields -> AllowMultipleUrls -> ExpandableFields -> MultipleNavigation -> Validation and modify the Regular expression field. Please refer to the screenshot.
Please note that you need to modify the Regular expression field for the FrontendPagesEdit, as well.
Regards,
Sabrie Nedzhip
Telerik
Thanks Sabrie,
I'm glad this is possible, although I wish it was more intuitive.
Dave
AllowMultipleUrls is no longer an option under Fields. Is there an updated way to handle this problem? I'm also having a similar problem with redirects for documents from an old site.
Hello
This option is still available: "Allow multiple Urls for this item" checkbox.
Regards,
Nikola Zagorchev
Telerik
Yes, the checkbox is still there, but urls with spaces in them still don't work. The problem is that AllowMultipleUrls is no longer available under Administration -> Settings -> Advanced -> ContentView -> Controls -> FrontendPages -> Views -> FrontendPagesCreate -> Sections -> AdvancedOptionsSection -> Fields, so there is no longer a place to change the regular expression to allow for spaces in redirect urls according to the above instructions.
Also, where should the regular expression be changed to allow for spaces in redirect urls for documents?
Hello
You can find the path to the regex in the attached screenshot.
Regards,
Nikola Zagorchev
Telerik
Could you detail the regex required to allow spaces or %20 in the Additional Urls field? I have a number of Google Search Console errors pointing to old urls and pdfs which I would like to point to a new Sitefinity page e.g
~/pdf/cobweb%20rybrook%20holdings%20ltd%20case%20study%20v1.0%20-%2006022012.pdf
Could you detail the regex required to allow spaces or %20 in the Additional Urls field? I have a number of Google Search Console errors pointing to old urls and pdfs which I would like to point to a new Sitefinity page e.g
~/pdf/cobweb%20rybrook%20holdings%20ltd%20case%20study%20v1.0%20-%2006022012.pdf
Hello
For documents it is not possible to set spaces, encoded or not. You can use hyphens instead.
For old Urls, you can use a Url rewrite rule.
Regards,
Nikola Zagorchev
Telerik
I have a large number of libraries that have spaces in the URL that were automatically created using the Sharepoint module in Sitefinity 8. Sitefinity didn't have a problem with these libraries and their URLs but now that we have upgraded to Sitefinity 9,we have multiple issues as you may imagine. Any help would be appreciated.