DEV Community

Discussion on: You can now generate self-hostable static blogs right from your DEV content via Stackbit

Collapse
 
karan_shah89 profile image
Karan Shah

I guess you need to enable canonical URLs on your new website.

I checked your site and while this blog: royal-lime-c9165.netlify.com/posts...
doesn't have any canonical URL - it could potentially be marked as duplicate content because it's also hosted on: dev.to/devteam/you-can-now-generat...

Collapse
 
tammalee profile image
Tammy Lee

It is possible to add canonical tags to your DEV.to post. Bit annoying to go through posts and adjust them but it should solve the problem.

Collapse
 
karan_shah89 profile image
Karan Shah

I meant that if you look at the site that Ben's created - it doesn't have any canonical URL which is not good for SEO since Google could flag the content as duplicate!

Thread Thread
 
tammalee profile image
Tammy Lee

Absolutely! But did he have a canonical URL front matter in his dev.to blog post?
I'm going to experiment a bit.

Thread Thread
 
karan_shah89 profile image
Karan Shah

No, but it means that the original content is assumed to be from dev.to and not from anywhere else.

Whereas when Google will crawl the Netlify website, it will likely treat the content as duplicate from the dev.to blog

Thread Thread
 
ben profile image
Ben Halpern

We’re working on better support for canonical URLs. It’s a matter of settling on how the configuration will work on the DEV side.

It’s been discussed, but we pushed it until post-release because we wanted some broader usability feedback.

Thread Thread
 
tammalee profile image
Tammy Lee

Thank you for this answer!

Thread Thread
 
raphink profile image
Raphaël Pinson

It'd be great if the process could add the canonical URLs to the dev.to posts automatically.

This would allow org devs to post on dev.to and then generate a standalone site which appears to have the orig content, with the dev posts pointing to it. Is that currently possible (without adding the canonical urls manually)?