DEV Community

Discussion on: A Primer on SEO

Collapse
 
sinewalker profile image
Mike Lockhart

Ah right. Yeah this page has:

<link rel="canonical" href="https://dev.to/laurieontech/a-primer-on-seo-49n1" />

And I was thinking "Oh noes! Did the DEV editor put that in and overwrite her canonical link? How will I do this?". But, the DEV.to/laurieontech/technology-consultant post has this in its header:

<link rel="canonical" href="https://tenmilesquare.com/what-does-it-mean-to-be-a-technology-consultant/" />

Which is what we should probably all do, for our cross-posts on DEV.to, to link them back to the original on our own site.

So, I guess the question now is: when I cross-post to DEV.to (and I have a few that I'd like to), how do I set the canonical URL back to my original blog post?

Turns out: it's super easy: you press that "WRITE A POST" button in the top right corner there, and paste your Markdown. Then you press the ellipsis button (...) on the editor's top-right corner, and there's a field "Canonical URL" for you to put in your original URL!