Cannot create additional content URL with a space? - Bugs & Issues - Bugs & Issues - Progress Community

Cannot create additional content URL with a space?

 Bugs & Issues

Cannot create additional content URL with a space?

  • Cannot create additional content URL with a space?
  • Is this possible to do?

  • 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
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  • 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 Julie,

    This option is still available: "Allow multiple Urls for this item" checkbox.

    Regards,
    Nikola Zagorchev
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  • 400a2b5f-53a3-408a-a3c5-04e7e549df33_url-validation-2015-12-07-1752.png
    Hello Julie,

    You can find the path to the regex in the attached screenshot.

    Regards,
    Nikola Zagorchev
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  • 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?

  • 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

    pdf/cobweb%20rybrook%20holdings%20ltd%20case%20study%20v1.0%20-%2006022012.pdf
    pdf/cobweb%20rybrook%20holdings%20ltd%20case%20study%20v1.0%20-%2006022012.pdf
    pdf/cobweb%20rybrook%20holdings%20ltd%20case%20study%20v1.0%20-%2006022012.pdf
    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

    pdf/cobweb%20rybrook%20holdings%20ltd%20case%20study%20v1.0%20-%2006022012.pdf
    pdf/cobweb%20rybrook%20holdings%20ltd%20case%20study%20v1.0%20-%2006022012.pdf
    pdf/cobweb%20rybrook%20holdings%20ltd%20case%20study%20v1.0%20-%2006022012.pdf
    pdf/cobweb%20rybrook%20holdings%20ltd%20case%20study%20v1.0%20-%2006022012.pdf
  • Hello Mark,

    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
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  • 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.