1-888-365-2779
+1-888-365-2779
Try Now
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
    Registered:
    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.

    Thanks

    Jo
  2. Parvan
    Parvan avatar
    151 posts
    Registered:
    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.

    Regards,
    Parvan
    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