Moving WP files from subdomain of one url to root of another url

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fcm
    Junior Member
    • Oct 2005
    • 28

    Moving WP files from subdomain of one url to root of another url

    I have a wp installation and files at subdomain.A.com.
    I want to move the files to an account created for B.com (domain is not yet pointed there- don't know if that's relevant though)
    B.com account already has WP installed, but nothing built out yet.
    Both are hosted at Dathorn.

    Can I just copy the files over from sub.A.com WP installation and overwrite B.com's WP files? Is there a better way to do it?
  • AndrewT
    Administrator
    • Mar 2004
    • 3653

    #2
    If you're trying to duplicate the WordPress on b.com then you shouldn't install WordPress there first. You'll need to copy over all of the files, create a MySQL database, export / import the existing SQL database, create a MySQL user with permissions to the database, then edit the wp-config.php with this new MySQL user / pass.

    Comment

    • fcm
      Junior Member
      • Oct 2005
      • 28

      #3
      Thanks!

      Comment

      Working...