-
Hi,
We currently have a problem with the website. We have had a German version of the website (on a separate domain, so no language extension) for several months now. From 1 back-end, everything is controlled with Polylang. We notice that if we set Polylang to ”NL” (so that all NL pages are shown in the back-end), the German pages become 404. If we then set this to ”all languages” and re-save the permalink structure, everything is fine again. But after a while, the problem pops up again.
Currently, we are not using a multi site, but only Polylang on another domain (nfcw.de).
I contacted PolyLang and they indicated the following:
Have you been trying to remove the category base of the product? If so, it could explain the behavior.
What happens, from a technical perspective, when the category base is removed is that a set of rewriting rules per terms must be coded. It is the only way to make it work without causing conflicts. This is what Yoast SEO and the plugin “No category base” did for WordPress base category. and we were able to develop a compatibility for it to work in a multilingual context, because they followed these “rules”.
If you attempt to do it without a dedicated plugin, you can expect a great number of issues. As far as we know, it exists 2 plugins allowing to remove the category base “the right way” mentioned previously:
No category base (the original plugin for this feature: https://wordpress.org/plugins/no-category-base-wpml/)
and Yoast SEO which basically copied the previously cited plugin.
We have included a compatibility to work with these 2 plugins.As per RankMath, we do not have a specific compatibility with it as we focused on a development for Yoast SEO. SEO tools are very complex and require great attention, we had to select one and Yoast SEO would correspond to the need of our customers at that time.
But as you mentioned, we are not sure, yet, that it is caused by RankMath, the troubleshooting will give you more information.
If RankMath is causing it, you should be able to reach out to them to understand their actions. Feel free to share our email address with them in case they have questions from our side (s******@p***********).I would love to hear if you have some ideas on how to solve this.
The ticket ‘Problem with Polylang’ is closed to new replies.