Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SEO] Duplication #1010

Open
roberth opened this issue Jul 4, 2024 · 1 comment
Open

[SEO] Duplication #1010

roberth opened this issue Jul 4, 2024 · 1 comment
Labels
site Improvements to the site infrastructure or content presentation

Comments

@roberth
Copy link
Member

roberth commented Jul 4, 2024

Observations

The Nix manual allows .html extensions.

https://nix.dev/manual/nix/2.23/language/derivations
https://nix.dev/manual/nix/2.23/language/derivations.html

This means that all pages are duplicated.

Even more duplication exists between versions.

Problem
Duplicate pages are bad for search engine optimization (SEO).

Approaches

Add redirects, e.g. from x.html to x. HTTP resources don't need file extensions and should not have them.
HTML is not a relevant keyword, so it should not appear in our URLs.

Another option is to add headers or meta tags that tell crawlers which page is the canonical page, but this would be over-engineered for this problem. This would be over-engineered for .html, but afaik it's the only option for telling crawlers where to find the latest and not punish us in their rankings.

Willing to help?

Yes.

Priorities

Add 👍 to issues you find important.

@roberth roberth added the site Improvements to the site infrastructure or content presentation label Jul 4, 2024
@fricklerhandwerk
Copy link
Collaborator

We can't add such generic redirects without full control of the web server, and Netlify is too dumb for that. Adding canonical locations in meta seems like the most achievable path, but would need to be done as a somewhat expensive post-processing step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site Improvements to the site infrastructure or content presentation
Projects
None yet
Development

No branches or pull requests

2 participants