I need to make a redirection to an url, like this:
wp_redirect( 'http://www.myweb.com/login/' );
But I want that this url goes to spanish version, if user is in the spanish version of the web, or to the catalan version, if user is in the catalan version of the web.
Is it possible? How can I do it?
- The topic ‘Translate a link’ is closed to new replies.