Creating a "changing" link
-
So first off, I’m using qtranslate to set up multiple languages.
It’s working fine, and I have 2 links to select the language at the top of the page. The links, however, do not change, and so they always redirect you back to the homepage. Is there a way to make the link change depending on which page you’re on?
For example, if you’re on mywebsite.com/aboutus and you click the link I want it to direct you to mywebsite.com/aboutus/?lang=es not back to the homepage.
In short, I just want to add the /?lang=es to which ever URL you’re currently viewing, sorry if this is a poor explanation :/
The topic ‘Creating a "changing" link’ is closed to new replies.