11ty / 11ty/docs

Use canonical URLs to help reducing duplicate results in search engines

Open
#1,469 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Nunjucks
Stars
547
Forks
726
Avg merge
2h 23m
Merged PRs (30d)
3

Description

Currently when you search some 11ty docs in search engines, it's possible to see a result like this:

image

This is because we have many version or feature variants of the documentation living in production. We need to set a canonical url that points to the latest, main version of that page.

I'm eager to open a PR for this once I have some time but I wanted to report this first.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the templates or page-generation entry points for the version and feature variants of the documentation. Verify how each variant resolves its latest main page, then confirm that production pages emit canonical URLs pointing to that page and reduce duplicate search results.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.