My Account

Forums

Home Forums General Multilanguage redirect

Viewing 2 reply threads
  • Author
    Posts
    • #82456
      tomek
      Participant

      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?

    • #83060
      Bjarne Oldrup
      Participant

      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.

    • #83227
      tomek
      Participant

      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.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.

Login