How To Add Canonical Links on DEV.to

Photo by Luca Bravo on Unsplash

How To Add Canonical Links on DEV.to

Jan 3, 2022·

1 min read

Play this article

If you share your content across different platforms, you need to know about canonical links.

A canonical link is the first link generated when you publish an article before you reshare your content on different platforms (such as DEV Community, Tealfeed, etc.).

When you reshare your content in multiple places, canonical links help Google understand where the original content comes from.

If you're using Rich + Markdown, canonical links need to be added differently.

Click on the engine icon at the bottom of the post.

image.png

A small window should pop-up:

image.png

Now you can add the canonical link.

You only need to add the link address like this:

https://yourblog.com/add-canonical-link

And remove the rest.

To find the canonical path, do the following:

  • Press F12

  • CTRL + F and search for "canonical"

You should see something such as:

I hope this helps!