DEV Community

Discussion on: A Primer on SEO

Collapse
laurieontech profile image
Laurie Author

Ya, about that. It was meant to. I published there first. And then forgot to add it into the front matter here before I published 🙃. Only just realized yesterday. But my technology consultant post is done that way if you want an example!

Collapse
rekomat profile image
René Keller

Ah great, thanks for your answer! Just had a look at your technology consultant post. And I'm de-confused! =)

Thread Thread
laurieontech profile image
Laurie Author

Oh good!

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!