DEV Community

Rutik Wankhade
Rutik Wankhade

Posted on

How to add canonical url to my old blog post ?

I tried adding a canonical url in one of my old blog post using triple dash in the markdown editor as well as the setting tab. But after saving it. I don't see anything like

This blog was originally published on xyz
How do I make it work ? Please help.

Top comments (2)

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

No UI notice, but meta tag was indeed created, though.

Yeh, it doesn't seem to display "Originally published at" for older posts.

However if you view the source code of your article you can see the canonical URL is pointing to your website.

Collapse
 
rutikwankhade profile image
Rutik Wankhade

Oh I see. Thanks