Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Business SEO Basics Better SEO Through Code Canonicalization

Would there be any harm if the original content linked to itself as the canonical link?

Let's say we have website where users post reviews about clubs/organizations. The site is sectioned out by sub-domain based on the city that the organization serves. When a user reviews a club that spans multiple cities, it might be cross-published to the following sub-domains (because the content is relevant to residents of many cities):

Toronto.mysite.com Ottawa.mysite.com Windsor.mysite.com

Since reviews are user generated and come in frequently, it's not feasible to manually edit the duplicate content's canonical link to point back to one source - but it would be easy to have them all point to the same source, say, Toronto.mysite.com, because that's the city the user posted the review from.

Is there any harm in that, other than looking redundant?