Plugin Support
oiler
(@eulerarthur)
Hi Jochem,
Thanks for reaching out and for your report!
We’ve been looking into how Pretty Links behaves with WPML when the same slug is used under different language prefixes (like /nl/go/example and /de/go/example). Redirect matching has always been based on the slug itself rather than the language segment, and what happens is that in v3 we also had a specific workaround that prevented WPML from injecting language codes into the pretty URLs shown in the admin. That changed in 4.0, which may be why this is showing up more clearly after the upgrade. We’re still digging into the options here and will follow up once that investigation is further along.
In the meantime, since you mentioned you’re a Pro user, it would help if you could also open a request at our premium support channel: https://prettylinks.com/premium-support-request/. If we need site access or other private details to verify the setup, we can’t handle that on the WordPress.org forum.
Regardless our thread here will be updated as soon as we have more details, in order to show the conclusion publicly.
Thanks once again for reporting this and talk soon!
All the best,
Euler.
Hi Jochem,
A few questions so we can pin down which problem this is:
- Are your Dutch and German links separate entries in the Pretty Links list, or one entry that changes when you switch the admin language?
- What’s in the slug field for each? (go/example for all of them, or nl/go/example / de/go/example?)
- What full pretty URL does the list display for the Dutch one? If the language code appears twice, site.com/nl/nl/go/example — please say so.
- Pasted exactly as displayed, does that URL reach the Dutch or English destination?
- Were these links created in 3.x and upgraded, or created fresh in 4.0? Did any come from WPML’s duplicate/translate tooling rather than Add Link?
A screenshot of the list showing the Dutch and English entries side by side covers most of 1–3.
If you’re comfortable running a query, this one is the single most useful thing you can send us:
SELECT id, slug, url, created_at
FROM wp_prli_links
WHERE deleted_at IS NULL AND slug LIKE '%go/example%'
ORDER BY slug, id;
(Adjust the table prefix wp_ and the slug go/example if yours differs.)