You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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
tox
. 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.
The text was updated successfully, but these errors were encountered: