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

Wrong links for Archive pages and Custom Slugs #399

Open
Drivingralle opened this issue Nov 14, 2024 · 0 comments
Open

Wrong links for Archive pages and Custom Slugs #399

Drivingralle opened this issue Nov 14, 2024 · 0 comments
Assignees

Comments

@Drivingralle
Copy link

Copy of: https://wordpress.org/support/topic/wrong-links-for-archive-pages-and-custom-slugs-2/

Describe the bug
If archives in Custom Post Types are connected the connection works but the links inside the switcher block doesn't show the right link. The archive slug is not "translated". The system tries to build the link of the other language site but uses the wrong archive slug. The URL base and the slug of the term are right.

With my WooComerce Shop on Multiste. It’s with all product categories. The matching of the single products works fine. For example:

Archive:
DE: https://www.coworking-schlei.de/angebots-kategorie/verpflegung/
EN: https://www.coworking-schlei.com/product-category/drinks-and-snacks/

Single: Product
DE: https://www.coworking-schlei.de/angebote/coworking/tagesticket-flexdesk/
EN: https://www.coworking-schlei.com/booking/coworking/day-ticket-flexdesk/

I can’t find any hints inside my error logs.

Expected behaviour
The links to terms in the other languages should work with custom slugs.

Environment (please complete the following information):

  • Browser FF, chrome
  • PHP Version 8.2.22
  • Plugin Version 2.9.4
  • WP-Version 6.6

Additional context
Happy to help testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants