• I’m changing domanis and wish to install wordpress on my new domain but grab all the posts/users etc from my old domain. They’re both on the same host so getting to the database won’t be a problem. How would I go about it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Before any move ALWAYS do a backup of the database AND your WP files (especially if they were customized).
    Backing_Up_Your_Database
    If the host can move your DB – that’s great. If they mess up anything, you still have a backup of all your data!

    On the new domain install the same version, or better the backup WP files. If the DB has been moved, make sure the config file has the new updated info in it.
    If you use the old database do NOT run intall or upgrade – just access your site.
    However, it might be not possible because the site_utl and home values in the DB point to the old domain.
    Here is how to change them in phpMyadmin:
    https://www.tamba2.org.uk/wordpress/site-url/

    Post back if you have more questions.
    And… did I say BACKUP everything? ??

    I’d think you could follow the procedures in the Codex Article Moving WordPress where it discusses Moving_WordPress_to_a_New_Server.

    Thread Starter aspiramedia

    (@aspiramedia)

    Thanks guys – I’m not attempting it today but I’ll keep you posted. And I’ll backup I think… ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using same database twice’ is closed to new replies.