Move wordpress to new hosting acct - install failed

by David
4 replies
When moving a wordpress site from one host to another is it necessary to download the old wp-config.php (then correct the path to find the new db user/ url etc)

in otherwords, my question is this:

Is there stuff on the old wp-config.php (other than define db, define db user, define db location ) that is required for the new wp to work?
#acct #failed #hosting #install #move #wordpress
  • Profile picture of the author Kingfish85
    Originally Posted by David View Post

    When moving a wordpress site from one host to another is it necessary to download the old wp-config.php (then correct the path to find the new db user/ url etc)

    in otherwords, my question is this:

    Is there stuff on the old wp-config.php (other than define db, define db user, define db location ) that is required for the new wp to work?
    Ideally you would just change out the database details and call it a day. Usually when a web host does the migration for you, the entire account is packaged up then restored the same as it was before. You can do either, as it will still work provided you have the correct information in the config file.
    Signature

    |~| VeeroTech Hosting - sales @ veerotech.net
    |~| High Performance CloudLinux & LiteSpeed Powered Web Hosting
    |~| cPanel & WHM - Softaculous - Website Builder - R1Soft - SpamExperts
    |~| Visit us @veerotech Facebook - Twitter - LinkedIn

    {{ DiscussionBoard.errors[7626575].message }}
    • Profile picture of the author David
      here's what I've done so far:
      FTP down the wp-contents folder from the existing hosting acct
      export the mysql db (there is a problem here because this particular wp install has 2 db, none of the 30 other wp sites I've admin-ed or created or managed have 2 db)

      open godaddy linux hosting
      clean install fresh wp
      FTP up the wp-contents dir
      import db into phpmyadmin

      fails at that point
      DOH

      so.. a closer look at the old wp-config.php file I see the:
      define db user
      define db pwd
      edit "localhost" to the exact url of the godaddy mysqlserver (dbname+string+hostedresource.com )

      all that is edited on the new wp-config.php to be as it should be

      closer inspection of the wp-config.php and I see these strings:

      define('AUTH_KEY'
      define('SECURE_AUTH_KEY'
      and so on... I realized that if the db is looking for those specific values.. they aren't gonna be found on the fresh wp-config.php file on the new hosting acct

      might that be where it's failing?
      Signature

      David Bruce Jr of Frederick Web Promotions
      Lawyer Local SEO - |

      {{ DiscussionBoard.errors[7626593].message }}
  • Profile picture of the author Kingfish85
    Try copying a new config file (from a fresh download of WP) up and making your changes. Unfortunately, GoDaddy has a horrid reputation for Wordpress sites and problems with them. On that note, I'd recommend looking at the hosting offers section or choosing a new company that doesn't make things so complicated to get the site running.

    I have only transferred customers "from" there, so I'm not exactly sure what the problem could be. You might want to contact their support, but the last person that came here regarding GoDaddy support said they were on a "12 hour wait list" queue.

    The auth keys will only be needed if they were originally there.
    Signature

    |~| VeeroTech Hosting - sales @ veerotech.net
    |~| High Performance CloudLinux & LiteSpeed Powered Web Hosting
    |~| cPanel & WHM - Softaculous - Website Builder - R1Soft - SpamExperts
    |~| Visit us @veerotech Facebook - Twitter - LinkedIn

    {{ DiscussionBoard.errors[7626613].message }}
  • Profile picture of the author LA Grouch
    Make sure the he wp-config file settings are correct for the host you're moving to...

    DB_HOST
    $table_prefix ='wp_'; This is most likely your problem. Check the phpMyadmin and see what the prefix should be.

    The easiest way to do this is to see if there is another installation of Wordpress on this host and download the wp-config.php file, then compare it to the one you're importing and make the necessary changes.
    {{ DiscussionBoard.errors[7664307].message }}

Trending Topics