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

Detect alternative languages #625

Open
pqvst opened this issue Oct 7, 2024 · 0 comments
Open

Detect alternative languages #625

pqvst opened this issue Oct 7, 2024 · 0 comments

Comments

@pqvst
Copy link

pqvst commented Oct 7, 2024

A site that supports multiple languages typically includes link alternative tags. It would be nice if linkinator detected and checked these links. This would help to verify that none of the alternative links are broken, and to find these pages if they aren't linked to elsewhere.

For example:

<link rel="canonical" href="[http://localhost:3000/](view-source:http://localhost:3000/)">
<link rel="alternate" hreflang="x-default" href="[http://localhost:3000/](view-source:http://localhost:3000/)">
<link rel="alternate" hreflang="en" href="[http://localhost:3000/](view-source:http://localhost:3000/)">
<link rel="alternate" hreflang="es" href="[http://localhost:3000/es](view-source:http://localhost:3000/es)">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant