Skip to content

Archive hreflang and switcher not working #190

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

Open
lloc opened this issue Aug 24, 2022 · 3 comments
Open

Archive hreflang and switcher not working #190

lloc opened this issue Aug 24, 2022 · 3 comments
Assignees
Labels

Comments

@lloc
Copy link
Owner

lloc commented Aug 24, 2022

The switcher is working for all kind of pages (pages, posts, woocommerce products), but not for archives. It shows an empty href.

F.E.
https://www.site.com/nl/category-a:

<link rel="alternate" hreflang="en" href="" title="English" />
<link rel="alternate" hreflang="nl" href="https://www.site.com/nl/" title="Nederlands">
@lloc lloc self-assigned this Aug 24, 2022
@lloc lloc added the Bug label Aug 24, 2022
@lloc lloc added this to the 2.5.5 milestone Aug 24, 2022
@lloc lloc closed this as completed Oct 3, 2022
@lloc
Copy link
Owner Author

lloc commented Oct 13, 2022

Reopened because of additional information:

https://wordpress.org/support/topic/archive-hreflang-and-switcher-not-working/

@lloc lloc reopened this Oct 13, 2022
@lloc lloc removed this from the 2.5.5 milestone Aug 20, 2024
@apermo
Copy link

apermo commented Feb 24, 2025

@lloc if you can provide the information you have atm, I can have a look at it and see if I can solve it.

@lloc
Copy link
Owner Author

lloc commented Feb 24, 2025

I was working on it, but never completed something that is worth to share. Feel free to look into it, @apermo ! 😄

@lloc lloc assigned apermo and unassigned lloc Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants