More in this section

URL rewrite

2 posts, 0 answered
  1. Kristina
    Kristina avatar
    17 posts
    Registered:
    17 Mar 2009
    30 Mar 2009
    Link to this post
    Hi,

    I am currently evaluating Sitefinity as a CMS for our website.

    We have a live website which have urls which are currently indexed in Google. We would like to retain most of the url structures with the new website using Sitefinity. How would we rewrite the URL to our preferred URL in Sitefinity?

    Thanks and Regards,

    Kristina Thong
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    30 Mar 2009
    Link to this post
    Hello Kristina,

    For Sitefinity providers you can use urlRewriteFormat attribute. Additionally you could use Telerik.Cms.Engine.ContentUrlRewriterService. You can add some sections in your web.config to activate
    AdvancedUrlRewriter

    <configuration> 
    … 
    <configSections> 
    <sectionGroup name="telerik"
    … 
    <section name="urlrewrites" 
    type="Telerik.Cms.Web.AdvancedUrlRewriter, Telerik.Cms"/> 
    </sectionGroup> 
    </configSections> 

    and set up your rules

    <configuration> 
    <telerik> 
    … 
    <urlrewrites> 
    <!-- Add your rule elements here --> 
    <rule> 
    <url>[input URL pattern]</url> 
    <rewrite>[replaced URL]</rewrite> 
    </rule> 
    </urlrewrites> 

    More information about this approach can be found at our User Manaul, section URL Rewriting

    Here is a link to an useful webinar regarding url rewriting in Sitefinity. http://www.sitefinitywatch.com/blog/08-12-23/URL_Rewriting_with_Sitefinity_Webinar.aspx

    I hope this helps.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
2 posts, 0 answered