wrong links with polylang
-
Hi,
I’m using Polylang, Rank Math, and Permalink Manager on my site. I’ve noticed that sometimes the main category (e.g., Clothes) in the breadcrumbs is displayed with the wrong URL.
Example:
While browsing the English site (set as the default language), instead of linking to/en/girls/, the breadcrumb points to/pl/girls/. After flushing permalinks, it shows correctly /pl/dziewczynki etc.- I don’t have any duplicate slugs.
- In URI Editor → Product Categories everything looks correct.
- At first, I thought this was a conflict with Rank Math, so I wrote my own breadcrumbs code. However, after a few days the issue reappeared.
- I can also see the wrong URL in my product filter, as well as in the Rank Math JSON.
Flushing wordpress permalinks fixes the issue temporarily.
Also:
- RankMath’s “Redirections” fix redirect conflict
- “Primary category” support
I had enabled, I’m also enabling now for test WPML/Polylang fix language mismatch to redirect to the language variant of requested page
Could this be an issue with Permalink Manager or Polylang? Thanks in advance for any help!
The topic ‘wrong links with polylang’ is closed to new replies.