Thank you for the answer!
But I mean a little different thing, I need every page redirect depend on a country by adding ”?translate-to=…” at the END of every URL.
So, for example, if country Ukraine, then =>
site.com => site.com/?translate-to=ua
BUT next to this, if url is
site.com/ABC => site.com/ABC/?translate-to=ua
or
site.com/ABC/BLABLABLA => site.com/ABC/BLABLABLA/?translate-to=ua
Maybe, it could be a checkbox in the plugin admin area, like “redirect to a specific page on the same site” with a field where it’s possible to add regex rule, something like “**/?translate-to=ua”
As mentioned above, I am using a lightweight wp translator, and not in my case, but also “regex rule” could be helpful for heavy wpml users, like “/ua/**”
Very hope it’s possible to make it, it’s quite urgent for me, I would be very appreciative for this help and hope this could be useful for many people. Your plugin is very lightweight and the only one with Cloudflare compatibility.