“product” in slug is changing and giving 404 errors
-
The product pages in the default (for our site it is Dutch) language gave 404 errors. In WordPress I have permalinks default choice, also for Woocommerce slug. So, it is /product/…
Somehow, Translatepress changed the default language “product” slug to “produkt” (with a k). Visitors going to domain.nl/product/… saw a 404 error. Also all other languages gave 404 errors.
I “fixed” this by saving the permalinks again (without changing anything) and clear the cache. This made it work again in Dutch language, and several other languages, but not all. I went to the slug translater and changed the slug translation of “product” for those languages. Now it seems working again, but after a while Translatepress again breaks it. Translatepress is messing with the translation of “product”, making 404 errors.
Is there a way that Translatepress NEVER translates the word “product” in the URL again? I have tried by adding “product” in the string that should not be translated, but Translatepress still keeps doing it. ;-(
So, for the French version it switches over time from product to produit, and one of these give a 404 error.
Or as an alternative: Can we get rid of “product” in the URL? So it would be domain.nl/xyz instead of domain.nl/product/xyz. That way the bug in the plugin cannot ruin the slug by renaming product without asking. In RankMath there is an option to get rid of “product”, but by switching that on, none of the translated product pages work.
Please help me with this really annoying problem, which is costing us a lot of money and giving us frustrated customers!
Kind regards,
Gerske
- The topic ‘“product” in slug is changing and giving 404 errors’ is closed to new replies.