Skip to content

Where to Add Canonical link in head? #192

Closed

Description

@RandAlThor

I believe I need to add the canonical link the header of my home page. Where would I add this? Within the theme? within the default.aspx? On every page?
Hope someone can help, cheers.

Activity

  1. replacemagic commented on Dec 29, 2018

    @replacemagic

    Hi there,

    you can check https://blog.replacemagic.com/post/blogengine-extension-for-canonical-tags where I explained how to add canonical tags to BlogEngine 3.3.6.

    BR,
    Oliver

  2. deleted a comment from on Nov 19, 2019
  3. Dr-Oli commented on Feb 16, 2020

    @Dr-Oli

    Healingwell, you have update in post: https://blog.replacemagic.com/post/blogengine-extension-for-canonical-tags as there was one step missing and that was:

    "Finally, when everything is in place go to: protected override void OnLoad(EventArgs e) in BlogBasePage.cs and add call to AddCanonical() which I did just after AddMetaContentType()."

    After checking ReplaceMagic blog I see that there are canonical links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions