Posted: January 25, 2016 at 5:32 pm
|
Hello, I am using on my website two languages: French and English. The English content is available through URLs that start by “mydomain.com/en/” (e.g. English translated event is “mydomain.com/en/event/xxxxxx”) On the Event Details Page, there is a “Register Now” button which when clicked goes to “http://www.mydomain.com/registration-checkout/#checkout” which defaults to French language instead of “http://www.mydomain.com/en/registration-checkout/#checkout“. I have inspected using Chrome Developer Tools the Register Now button and i saw it is contained into a form. I managed to have the form action url for the register button to go to the “mydomain.com/en/event/xxxxxx” but the page that I get when i click the button is still “http://www.mydomain.com/registration-checkout/#checkout” (without the “/en/”). The following code is the HTML from the event details page for the “Register Button” where you can see the form action is correct including the “/en/”, but when clicked it goes to the page without the “en”.
Could you tell me what i need to modify and in which file? I have strong PHP experience but i just don’t know where the redirect takes place. Thank you |
Hi there, I’m sorry, Event Espresso 4 is not compatible with WPML. Please see this thread in the WPML forums for more information on why: I’ll check in with our developers (currently offline due to time differences) and see if there is a hook available for the redirect although I suspect it may not work as expected. |
|
The support post ‘Register Now Button – Specific Url Redirect?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.