Ability to set a canonical URL for an article

How do I set a canonical URL for an article? I tried to set it in Code Injection > Post Header but I still see the old canonical URL set by Ghost.

I’m trying to publish a guest post on a blog and I can’t do it while I can’t set the canonical url for my post to point to the original article.

Is there a solution for this which works now? We’re blocked by this bug.

Currently there is no way to customise this, but it’s something that gets asked about often so we might consider adding support in core if someone’s up for working on it

I’m sorry but how is that possible? Medium supports this out of the box. This should be present as this bug will cause problems for anybody who is guest posting somewhere using Ghost.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

Custom canonical URLs are now possible using the field in the meta data section of post settings. Read more:

https://blog.ghost.org/custom-canonical-urls/