Cross-post from Medium

github logo ・1 min read

Hello. I've written my original article at Medium. Now I want to post it at Dev to but don't want to have a bad influence on my SEO. As I understand, I should use Canonical URL, right? But when I add it in front of my article and save it, I do not see "originally published at" in front of it. How can I solve this issue?

twitter logo DISCUSS (4)
markdown guide
 

In the meta at the top of your post, include the canonical_url variable. If you want to display it in your article, you have to add text manually.

 
 

Here's one from a recent article of mine:

In the metadata:

---
title: Roll your Own Redux With useContext & useReducer
published: true
tags: hooks,javascript,react
canonical_url: https://glennstovall.com/ducklings-roll-your-own-redux-with-usecontext-usereducer/
cover_image: https://thepracticaldev.s3.amazonaws.com/i/8bsspsjfh63qxbvgiuag.jpg
---

In the text:

[Roll your Own Redux With useContext & useReducer](https://glennstovall.com/ducklings-roll-your-own-redux-with-usecontext-usereducer/) first appeared on [Glenn Stovall - Engineer](https://glennstovall.com).
Classic DEV Post from Nov 1

How I Got Hired at DEV (and Every Other Tech Job)

seckelberny67 profile image
I'm passionate traveller