DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Canonical Link issue

 3 Replies
 2 Subscribed to this topic
 31 Subscribed to this forum
Sort:
Author
Messages
Yma
Growing Member
Posts: 29
Growing Member

    Hi,

    I am trying to optimize my site, but I am getting this error when I use SEO tools.
        No canonical link tag is found on your homepage.
    I am getting this error for every page. Not only for the home page.
    I have upgraded my DNN website to DNN 09.13.4, which is still the same.

    I have added the domain name with www and without www to the portal alias. 
     

    I tried the above both options. But nothing works.

    Can you please help me to fix this case?

    Thank you!

    Veteran Member
    Posts: 1178
    Veteran Member

      I think you confuse "Canonical tags" with "Canonical links".

      Imagine the following scenario: You have two sites with the same or very similar content, e.g. the second page is in easy language. You can use the canonical tag to refer to the main site, so instead of the easy language page the "same" page on the main site will be indexed. Without that tag, search engines like Google decrease the site because op duplicate content (more or less).

      Example:

      http(s)://www.mycompany.com/someveryusefulinformation (Main site)

      http(s)://easy.mycompany.com/some-very-useful-information (Easy language site)

      On the second page you should set the following header:

      < link href="https://www.mycompany.com/someveryusefulinformation" rel="canonical" / >

      (Replace the spaces after and before the angle brackets)

      A canonical link can also refer to the page itself, so you could set the same header on the main site as well.

      To do this in DNN, you can go to Page Settings :: Advanced :: SEO and add the tag in Page Header Tags.

      Happy DNNing!
      Michael

      PS I am not a specialist in SEO, so if anything of the above information is wrong please correct me...

      Michael Tobisch
      DNN★MVP

      DNN Connect
      Veteran Member
      Posts: 763
      Veteran Member

        I actually never use the setting 'canonical' but always use 'redirect'. Other urls / domains are not indexed so, there is no issue with duplicate content.

        Senior Member
        Posts: 1426
        Senior Member

          Also, while it might seem like more "unnecessary" work to do both the site and the page canonical settings, there are real world scenarios that require this.  For example, some pages might have a dynamic module on it (e.g., blog, news, etc.) that shouldn't use the page-level canonical setting, and instead you would hopefully be able to leverage a canonical feature in the used module. 

          Just a bit more background.  Have fun!  😎

          These Forums are dedicated to the discussion of DNN Platform.

          For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

          1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
          2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
          3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
          4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
          5. No Flaming or Trolling.
          6. No Profanity, Racism, or Prejudice.
          7. Site Moderators have the final word on approving / removing a thread or post or comment.
          8. English language posting only, please.

          Would you like to help us?

          Awesome! Simply post in the forums using the link below and we'll get you started.

          Get Involved