DEV Community

Discussion on: Return statement in PHP

 
programmingdive profile image
Programming Dive • Edited

That's cool but the question is when I post my blog here with same title and content then dev.to also creates canonical tag with same title. Then how google will distinguish which is the original content?

Thread Thread
 
moopet profile image
Ben Sinclair

I'm not sure I understand what you mean?

Thread Thread
 
marcusatlocalhost profile image
Marcus • Edited

@programmingdive Google knows the post on your blog is the original one, because you set the canonical_url here on dev.to (I didn't know that's possible, but good to know)

As I see it, you try to game google[1] and you use dev.to to get some ranking for your blog. That's fine! dev.to encourages this and even gives you the tools (no rel="nofollow" and canonical_url tag). But for dev.to users, teaser posts like this can be seen as low quality (ok, I'm just speaking just for myself here) and I don't think that helps the overall quality of site (also, just my opinion).

I'd say, check out all options, and how google ranks your site under different circumstances and then write an exclusive dev.to post about what you have learned :).

[1] and google doesn't like that, tries to detect that behavior.