Home › Forums › General › Multilanguage redirect
Hi. I’m using Translatepress for multilanguage website.
So there is a form on the page website.com/form/
and other lang urls: website.com/pl/form/ website.com/fr/form/ …
I need to redirect user to corresponding profile page url after submitting the form.
website.com/form/ -> website.com/profile/
website.com/pl/form/ -> website.com/pl/profile/
website.com/fr/form/ -> website.com/fr/profile/
How can i do it?
What translation plugin are you using?
Have you tried, redirecting to the relative url /profile?
I think your translation plugin should kick ind, and if localized versions of /profile exists, it redirects to /pl/profile or /fr/profile accordingly.
Interesting question though. I may make some tests.
I’m using Translatepress https://translatepress.com/
There is no need to create copies of pages for another languages (like with Polylang or WPML), it’s a string based translation tool.
So i have only 2 pages: /form/ and /profile/
I tried redirect the form to relative url with no luck.