Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Adding a query to url….

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24346
    MikeC
    Member

    I am using WordPress with the qTranslate plugin.

    And I can’t see anyway of switching the languages other than the url, so I need a way of adding something to the URL with the use of flags.

    So for example, if the url is: http://www.mydomain.com/index.php
    I need to change it to: http://www.mydomain.com/index.php?lang=en

    However if it already has a query, for example: http://www.mydomain.com/index.php?p=1

    I need to append my query to make it: http://www.mydomain.com/index.php?p=1&lang=es

    How do I do this?

    I would also like to make it so that the user doesn’t have to always switch from language to language, so if they choose russian, the next page will also be in russian.

    Is this a good solution or is there a better way? Thanks for any help you can give!

    #54959
    MikeC
    Member

    I have read through that page you posted a few times and I think I have it working now.

    But do you have any idea what the links should be on the menu to keep the following pages in the current language?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.