← Articles

How to Crosspost to dev.to and Medium Without Hurting SEO

28 October 2026 · Wednesday

Publish on your own site first, then post copies to dev.to and Medium with a canonical link back to the original. Google credits your site, and AI answers can still quote the copies. Perplexity cited the dev.to copies of Off Grid AI's articles in 8 of 9 answers we checked. The free AI starter kit we build our own products with does the crossposting with you.

Publish on your site first

Your site holds the original. Publish there and wait until the page is live before you post copies.

Post to dev.to with a canonical link

Set canonical_url to your article's address. You can post through the dev.to editor or its API. Turn any links to your own pages into full addresses, so they still work on dev.to.

Import to Medium

Use Medium's import tool and paste your article's URL. It brings in the text and sets the canonical link.

Keep the copy the same

Use one Markdown file for all three, so a fix in one place goes everywhere. Add a line at the end saying where it was first published.

Tell search engines

Submit the new page through IndexNow or your search console so the original is found first.

What goes wrong

What you see Why Fix
The copy outranks your site No canonical link Set canonical_url to your page
Broken links in the copy Relative links Use full addresses
Copies drift apart Edited in three places One Markdown file for all
Your page isn't indexed Search engines weren't told Ping with IndexNow

Get the set we use

The starter kit publishes one Markdown file to your site, dev.to and Medium, with the canonical set. Get the starter kit free on GitHub.

Questions

Does crossposting cause duplicate content problems?

Not when each copy sets a canonical link to your original. Search engines then credit your site.

How do I set a canonical URL on dev.to?

Add canonical_url in the post's front matter, or set it in the post settings. Point it at the article on your site.

How do I set a canonical URL on Medium?

Use Medium's import tool with your article's URL. It sets the canonical link for you.

Let's grow your business

Tell us about your business, and we'll call you if it's a fit.

How do you want to work with us?
Stage of the business