SEO, performance, and hosting: Canonical paths
A canonical link identifies the preferred URL for duplicate content; it is not a redirect or an indexing guarantee.
Current edit
Understand the pattern
A canonical link identifies the preferred URL for duplicate content; it is not a redirect or an indexing guarantee.
A canonical link identifies the preferred URL for duplicate content; it is not a redirect or an indexing guarantee.
Misconceptions to reject
- A visual appearance alone guarantees the intended HTML meaning.
- Replacing semantic elements with generic divs automatically improves accessibility.
The preview is a sanitized subset, not a full browser compatibility test.
Worked example and expected result
<head><title>Log workshop</title><link rel="canonical" href="/workshops/logs/"></head><a href="/workshops/logs/">Log workshop</a>A canonical link identifies the preferred URL for duplicate content; it is not a redirect or an indexing guarantee.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: SEO, performance, and hosting: Viewport metadataTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.
Keep learning
- 01SEO, performance, and hosting: Meta descriptionsA useful description summarizes the specific page. Search engines may choose a different snippet.Practice
- 02SEO, performance, and hosting: Viewport metadataA device-width viewport lets responsive layouts use the device width rather than a wide desktop layout viewport.Practice
- 03SEO, performance, and hosting: Asset dimensionsExplicit image dimensions reserve layout space. Below-the-fold images may be lazy-loaded; a hero usually should not be.Practice