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

Incorrect canonical and alternate on blog posts #468

Open
SleeplessByte opened this issue Nov 7, 2024 · 0 comments
Open

Incorrect canonical and alternate on blog posts #468

SleeplessByte opened this issue Nov 7, 2024 · 0 comments

Comments

@SleeplessByte
Copy link
Member

Describe the bug
Blogs don't get the correct alternates or canonicals.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://www.fronteers.nl/nl/blog/2022/12/wees-niet-slim-en-gebruik-webstandaarden

Expected behavior

<link rel="alternate" hreflang="nl-NL" href="https://www.fronteers.nl/nl/blog/2022/12/wees-niet-slim-en-gebruik-webstandaarden">

Screenshots

<link rel="alternate" hreflang="nl-NL" href="https://www.fronteers.nl/nl/blog/2024/10/nieuwe-website">
<link rel="alternate" hreflang="en-US" href="https://www.fronteers.nl/en/blog/2024/10/nieuwe-website">

More context
The issue is that all blog posts have the same key by default. They should use the permalink instead of key (empty) when the key is empty!

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