How To Add Canonical Links on DEV.to

Photo by Luca Bravo on Unsplash

How To Add Canonical Links on DEV.to

Maddy
·Jan 3, 2022·

1 min read

Subscribe to my newsletter and never miss my upcoming articles

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:

<link rel="canonical" href="https://yourblog.com/add-canonical-links">

I hope this helps!

 
Share this