Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Bruno 1 month, 2 weeks ago.

Assigned support staff: Bruno.

Author Posts
June 24, 2020 at 2:26 pm #6445529

chrisW-38

Hi! I'm trying to set up redirects using the Yoast Pro redirection tool but am having a problem similar to this one https://wpml.org/forums/topic/redirects-are-not-localized-per-language-in-the-yoast-plugin/

Example of what I want to do:
LANGUAGE 1: want /contact to go to /contact-page
LANGUAGE 2: want /contact to go to /contact-slug-for-the-second-language

Currently I've set up some redirects for the French pages like /contact > .fr/contactez-nous but that also redirects the English .net/contact page to .fr/contactez-nous which I don't want. Any suggestions?

Thanks so much

June 25, 2020 at 4:02 am #6449185

Bruno

Hi,

Thank you for contacting us. I think it is not possible to do this with Yoast SEO. This is because the validation is done per page and not by URL. Since you are using languages by domain, pages with the same name will have the same redirect.

I believe that in this case, it would be necessary to either use another redirect plugin or use custom coding to do these redirects, not just based on the page but on the URL as well.

Thank you.

The topic ‘[Closed] Separate redirects for languages’ is closed to new replies.