Moving from test environment

Hello,

I have been developing site in a subdomain “test.maindomain.com”. Now when the site is ready I want to move to “maindomain.com”. It is literally copied files to another domain. What is the best way to do that? to transfer site from one domain to another?

One more thing. It is a multisite installation. I allow my users to create their own blogs. It was working ok but last few users gets this message:Table ‘saharatr_test1.wp_17_fm_settings’ doesn’t exist. I get the email to my admin inbox that new site has been created but when I want acces the site I get this message.

Thank you,

Stuart

  • Philip John
    • DEV MAN’s Apprentice

    Hiya Stuart,

    I moved a multisite recently and it wasn’t overly straightfoward. Problem is, there are lots of references to the domain name in the database.

    Ideally, you need to do a database dump (“mysqldump”:wink: and do a find/replace on your domain name to the new domain name.

    Then load the dump into a NEW database and run your copied WP install off that new database.

    Does that make sense?

    Phil

  • danustu
    • Design Lord, Child of Thor

    Hi Phil,

    It makes sense. However, I am not familiar with doing database dump, editing it and installing WP on it.

    Can you tell step by step how to do it? Or give me link with information on how to do it.

    Thank you,

    Stuart

  • Mustafa
    • Syntax Hero

    Hi danustu,

    First,dump your mysql.I advice to use mysql-dump technic.

    Second,If your database not too big,open with any text editor.(Maybe you can use some advanced editor for this business.)

    Find “test.maindomain.com” and change “maindomain.com”,

    Last step import your sql file :slight_smile:

    And, my answer the second question,

    You are using plugin that is incompatible with wordpress-mu.

    This plugin using,”saharatr_test1″ table.Find and Disable it :slight_smile: