Skip to content
Clairos Learn

SEO, performance, and hosting · Lesson 3 of 8 · 7 minutes

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.

Mastery 0/3Run itExplain itApply it
Web workshopInert preview · code inspection

Current edit

PreviewNo external resources

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.

Try a variation

Adapt the final example to a different project name while retaining its structure and relationships. A different context still needs a real browser and accessibility check.

Explain it

Which statement correctly explains canonical paths?

Apply it elsewhere

You reuse canonical paths in a different project. What must still be verified?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: SEO, performance, and hosting: Viewport metadataTry an incident drill

Anonymous 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

  1. 01SEO, performance, and hosting: Meta descriptionsA useful description summarizes the specific page. Search engines may choose a different snippet.Practice
  2. 02SEO, performance, and hosting: Viewport metadataA device-width viewport lets responsive layouts use the device width rather than a wide desktop layout viewport.Practice
  3. 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