Support » Plugin: Multisite Language Switcher » Are relations stored in DB and if so, which table?

  • Resolved JpFayolle



    I am currently migrating my blog from Qtranslate to a multisite new installation, that is located under a subdomain corresponding to a sub-directory public_htmel/dev, with 3 sites dev/fr/, dev/en/, dev/es.

    I have installed the plugin and began to migrate posts so that each post is like: dev/ that links to dev/ and dev/

    When the migration will be completed, I will have to copy dev/ directly to public_html so that the previous links will become & / & /

    My question is: are these url stored into the DB and if so, in which table?

    I suppose I will have to make an update of the DB to keep the relations correct, no?

    Do not hesitate to ask for further precisions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dennis Ploetner


    This should be no problem. All relations are stored in {$wpdb->options}.

    To be sure I understand correctly, I see 3 wp_x_options tables in the DB each one with a record ‘option_name’ = ‘siteurl’ and ‘option_value’ = the url of each site (, etc).

    So I just have to update this url for this record in each 3 wp_options tables and the relations will be Ok.
    I mean, the relations are based on the url and there is not a record for each relation.

    Is that correct?

    Plugin Author Dennis Ploetner


    No, there are not just these entries. There are (a lot of) msls_%-entries in these tables. If I remember well, you’ll have all these relations in the xml-files, if you decide to use the export-functionality.

    hi all, hi realloc

    great plugin!

    I ´m not so good to handle with data tables. is there any other possibility to get an direct relation between for example three language- buttons EN, DE, CN? maybe with a function?

    this would be great!

    Plugin Author Dennis Ploetner


    @lexxlevi You don’t have to handle those relations in that way. You can use the widget or a few lines of code. Read on here:

    ooooooooooopps sorry I didn´t seen that

    Thank you, that is wonderful!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Are relations stored in DB and if so, which table?’ is closed to new replies.