back to Jitbit Blog home About this blog

Republishing on Medium: duplicate content, SEO and "rel=canonical"

by Alex Yumashev · Apr 14 2016

Many bloggers and marketers recommend republishing your blog on Medium because it gets your content in front of new audiences and apparently that works really well.

But this poses a huge SEO problem - duplicate content. Search engines might think the original content is the one being posted on Medium. This might hurt your website rankings. Generally, there's a workaround - the "rel=canonical" tag that basically tells Google which URL of the two is "original" - but you cannot use this tag when posting to Medium directly via the web interface. But you can add this tag when posting via the Medium API or via IFTTT (which is basically another way of using the API).

Posting via the API

What you'll need:

Then use whichever is your favorite way of accessing REST APIs. Here's a short Node.js script I wrote to post stuff to Medium: https://github.com/jitbit/MediumNodeJs/blob/master/Post.js

Note the “canonicalUrl” parameter

Posting via IFTTT

Another way to republish your blog content on Medium is via ifttt.com which also supports “canonicalUrl”.

  1. Go to Medium Channel on IFTTT and click Connect.
  2. Go to RSS-to-Medium recipe, click Advanced Settings link.
  3. Paste your feed URL.
  4. Click "Add".

The above "recipe" will only publish new posts to Medium, so if you want to publish some of your existing content you still need to use the API manually.