Replies: 3
Hello, about 6 months ago, a dev helped me create a custom snippet for my form which sends the user to a custom URL upon submission.
This is the link to the support topic I am referring to that also includes the snippet mentioned above.
I am currently encountering the following issue. I am using TranslatePress to translate our site, in the page where the form is translated to Spanish, the slug before the page name begins with /es. The issue is that once the custom snippet above runs, it takes the user to the page, but forgets the /es slug and thus the resulting page is not translated.
I’d like some help to include the translation URL slug in the mu-plugin snippet so that the user is taken to the correct language of the custom URL post submission.
Thank you and I look forward to hearing from you soon as support here has always been fantastic!
Best,