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

Infra: Canonical URL is incorrect #2599

Open
hongquan opened this issue May 11, 2022 · 2 comments
Open

Infra: Canonical URL is incorrect #2599

hongquan opened this issue May 11, 2022 · 2 comments
Assignees
Labels
bug infra

Comments

@hongquan
Copy link

@hongquan hongquan commented May 11, 2022

For example, if we share this link https://peps.python.org/pep-0636/ to Facebook, Facebook preview will show "Not Found" error.

It is because this <link> tag is invalid:

<link rel="canonical" href="https://peps.python.org/pep-0636.html" />
@AA-Turner
Copy link
Member

@AA-Turner AA-Turner commented May 11, 2022

Thanks for the report, this should of course be / not .html.

A

@AA-Turner AA-Turner added bug infra labels May 11, 2022
@AA-Turner AA-Turner self-assigned this May 11, 2022
@AA-Turner AA-Turner changed the title Wrong canonical URL leading to "Not Found" error when sharing link to social networks Canonical URL is incorrect May 11, 2022
@hugovk
Copy link
Member

@hugovk hugovk commented May 11, 2022

Handy links for validating:

@hugovk hugovk changed the title Canonical URL is incorrect Infra: Canonical URL is incorrect May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug infra
Projects
None yet
Development

No branches or pull requests

3 participants