More in this section

Forums / Developing with Sitefinity / <link rel="canonical"> avaliable in SiteFinity?

&lt;link rel=&quot;canonical&quot;&gt; avaliable in SiteFinity?

2 posts, 0 answered
  1. Duncan Evans
    Duncan Evans avatar
    122 posts
    07 Jul 2009
    08 Nov 2010
    Link to this post
    I am getting reports from some of our analysis apps that Google is seeing duplicate content on our site, which we do not have. However the Google Forums pointed me to a very interesting article:

    This simply says that Google sees URL's to the same page with different parameters attached as different pages. And that this should be added to the head portion of the pages in question:

    <link rel="canonical" href="" />

    Looking at the page properties in SiteFinity i see no option for "canonical".

    How should i handle the problem i am having right now in SiteFinity?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    08 Nov 2010
    Link to this post
    Hi Duncan,

    You can create a user control that you can use for these cases


    var co = new HtmlLink();
    co.Attributes.Add("rel", "canonical");
    co.Href = "";

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered