Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Rewriting multilingual URLs in an AJAX wp theme WordPress

I'd like to add for 3 different languages in an Ajax template and used WPML plugin to do so. (for dutch...)

As it's an ajax template I had to used a solution ( )to redirect the urls on the correct version of the website.

But I'd like this ajax redirection NOT to work for the /nl/ part so I can use other languages.

Right now when you type: (for dutch...) it redirects to
anhy idea how to rewrite this differently depending on the the language?

Many thanks

Answers (1)


S├ębastien | French WordpressDesigner answers:

instead of

and instead

and that works

Jonathan Surinx comments:

Hmmm no same thing... (well at least the content is the same while it should be the translated one).

I just checked for another page that is already translated in EN but same redirection happens:

Any other ideas?