+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Cannot create additional content URL with a space?

Cannot create additional content URL with a space?

11 posts, 0 answered
  1. Dave
    Dave avatar
    76 posts
    Registered:
    10 Mar 2008
  2. Dave
    Dave avatar
    76 posts
    Registered:
    10 Mar 2008
    19 Mar 2014
    Link to this post

    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

  3. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    23 Sep 2016
    24 Mar 2014
    Link to this post
    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
     
  4. Dave
    Dave avatar
    76 posts
    Registered:
    10 Mar 2008
    25 Mar 2014 in reply to Sabrie Nedzhip
    Link to this post

    Thanks Sabrie,

    I'm glad this is possible, although I wish it was more intuitive.

     Dave

  5. Julie
    Julie avatar
    2 posts
    Registered:
    02 Dec 2015
    02 Dec 2015
    Link to this post
    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.
  6. Nikola Zagorchev
    Nikola Zagorchev avatar
    424 posts
    Registered:
    23 Sep 2016
    07 Dec 2015
    Link to this post
    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
     
  7. Julie
    Julie avatar
    2 posts
    Registered:
    02 Dec 2015
    07 Dec 2015 in reply to Nikola Zagorchev
    Link to this post

    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?

  8. Nikola Zagorchev
    Nikola Zagorchev avatar
    424 posts
    Registered:
    23 Sep 2016
    07 Dec 2015
    Link to this post
    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
     
  9. Mark
    Mark avatar
    3 posts
    Registered:
    21 Feb 2015
    19 May
    Link to this post

    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
  10. Mark
    Mark avatar
    3 posts
    Registered:
    21 Feb 2015
    19 May
    Link to this post

    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
  11. Nikola Zagorchev
    Nikola Zagorchev avatar
    424 posts
    Registered:
    23 Sep 2016
    24 May
    Link to this post
    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
     
11 posts, 0 answered