More in this section

Forums / Developing with Sitefinity / Url Rewriting - I can't work this out.....

Url Rewriting - I can't work this out.....

2 posts, 0 answered
  1. Jo
    Jo avatar
    1 posts
    22 Feb 2009
    23 Feb 2009
    Link to this post
    Hi all,

    In SF I have set up groups and pages, generated from a database using the SF API. The page groups and pages currently have spaces in the names e.g About Us. So they display like this in the url e.g About%20Us. I would like to know how I could change the %20 of any pagegroup or page to a '-' using url rewritng. I have watched the videos and read the forums and blog posts, however I cannot work this out.

    Any help is appreciated.


  2. Parvan
    Parvan avatar
    151 posts
    24 Sep 2012
    26 Feb 2009
    Link to this post
    Hi Jo,

    Thank you for contacting us.

    Spaces are not allowed in the page name. You need to rename pages' names (replacing ' ' with  '-', or any other character you would like to have in the title.)  I attached a sample control. Please check it out.  The code I sent you will be fired on button_Click event.

    Hope this information will help you.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered