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

Forums / General Discussions / Canonical URL link appearing on every page

Canonical URL link appearing on every page

3 posts, 0 answered
  1. Dan
    Dan avatar
    14 posts
    Registered:
    01 Dec 2014
    05 Mar 2015
    Link to this post

    We are seeing something to the effect of <link rel="canonical" href="https://mysite.com/somewhere/" /> being sent in out in <head> of every page on our site.  This is a problem because we have a client who in certain instances needs to use a canonical link to give credit to creators in certain instances.  Is there a way to disable this functionality?

     

    Thanks,

    Dan

  2. Craig
    Craig avatar
    45 posts
    Registered:
    28 Sep 2008
    09 Mar 2015 in reply to Dan
    Link to this post

    Dan,

    I wrote a blog post a while back that describes exactly how to enable canonical URLs for Sitefinity pages.  I also include a video in the post that shows how all of this is done.

    http://codeengage.com/blog/craig-holdheide/2014/08/11/enable-your-sitefinity-pages-to-use-canonical-url-tags

    Also, you can disable canonical URLs per page.  Just follow my simple steps below to disable a canonical url and add your own.

    1. Log on to the back-end of your Sitefinity web site (example: http://www.yourdomain.com/sitefinity).
    2. Click on "Pages" in the top navigation
    3. For the page you want to disable canonical URLs, just click Actions > Title & Properties.
    4. On the "Edit a page" screen, scroll down to the "Advanced options" section and expand it if it is collapsed.
    5. Set the "Canonical URL" property to "Disabled"
    6. If you want to supply your own canonical URL, just copy the canonical tag HTML below, paste it in the field "HTML in the <head> tag (except title, keyword, description)", and set the URL to your own custom URL.

        <link rel="canonical" href="your custom url here" />

     

    Hope this helps.

     

    Craig

  3. Dan
    Dan avatar
    14 posts
    Registered:
    01 Dec 2014
    09 Mar 2015 in reply to Craig
    Link to this post

    Thank you, this helped a lot.

     

    Dan

3 posts, 0 answered