Skip to content

Where to Add Canonical link in head? #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RandAlThor opened this issue Sep 1, 2018 · 3 comments
Closed

Where to Add Canonical link in head? #192

RandAlThor opened this issue Sep 1, 2018 · 3 comments

Comments

@RandAlThor
Copy link

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.

@replacemagic
Copy link

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

@BlogEngine BlogEngine deleted a comment Nov 19, 2019
@ghost
Copy link

ghost commented Nov 19, 2019

This solution does not appear to fix categories and their canonical listings.

@Dr-Oli
Copy link

Dr-Oli commented Feb 16, 2020

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants