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

Forums / Developing with Sitefinity / Restricting or encoding characters for forum thread posts?

Restricting or encoding characters for forum thread posts?

3 posts, 0 answered
  1. Ryan
    Ryan avatar
    57 posts
    Registered:
    07 May 2013
    14 Aug 2014
    Link to this post

    It's being recommended that URLs, such as community/forums/my-nava-health-vitality-experience/sdfsdf@-$sdf234w!!!, where it contains non-encoded characters, should not be allowed. These come from forum thread topics, so we cannot manually correct them every time. 

    Is there a way to restrict the characters allowed for URL creation for forum topics, or at least encode them? Thanks.

  2. Bonny
    Bonny avatar
    58 posts
    Registered:
    11 Nov 2016
    19 Aug 2014
    Link to this post
    Hi,

    As far as I understand, your question is related to the urls, generated for the forum threads, created from the frontend.
    There are settings, that describe the characters, that should be replaced when generating urls.
    Please go to Settings>Advanced>System>Site URL Settings>URLRulesSServer. There you will find the regular expression, defining the characters that should be replaced.

    Regards,
    Bonny
    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
     
  3. Ryan
    Ryan avatar
    57 posts
    Registered:
    07 May 2013
    19 Aug 2014 in reply to Bonny
    Link to this post

    Perfect. I have replaced it with [^\w\d\-_]+ as the original was causing concerns with SEO, allowing too many unencoded characters into the URL. Thanks.

3 posts, 0 answered