• I have read through the CODEX link for moving WP however, I am still confused. I have a backup of my files. I want to keep my domain and URL the same but move my site to GoDaddy for hosting. The CODEX, under “Moving to a new server” and “keeping your domain name and URL” states I need to “edit wp-config.php” Is this suppose to be from my old site or do I edit it GoDaddy? And if it’s in my old WP site where do I find it? I don’t see it in my backup files. I only see wp-cache-config.php. Is that the same thing?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • …I need to “edit wp-config.php” Is this suppose to be from my old site or do I edit it GoDaddy? And if it’s in my old WP site where do I find it?

    Your wp-config.php file is in your site’s root folder, typically public_html. To move your site, you will first need to establish an account at your new host, then go to its cPanel > MySQL Databases and make a new database (empty shell for now) either with the same database name, MySQL User and Password from your existing wp-config.php or in accordance with a new wp-config.php to use at your new host if you want to change any or all of those things. However, do keep your same table_prefix on either version of wp-config.php since you will want to simply export your existing database (via phpMyAdmin) from where it is and then import it into the new, still-empty database at your new host. Then after you have also copied all of your wp-content folder and its contents to your new location along with fresh copies of all other wp-folders and wp-files and your chosen wp-config.php, you should be able to first assign your domain to its folder location at your new host (via cPanel there), then point your domain to its new servers and log in (after its DNS has propagated) with nothing more to be done.

    Thread Starter mymic

    (@mymic)

    thank you for your assist but I am very new to this. The third part that hosted our site gave me the zip files for all our WP backups and no where in there do I see a wp-config.php. I have already created a new domain/host with GoDaddy and I have uploaded WP into the domain I want to use. That created a wp-config.php, which I am assuming (from the GODaddy instructions) is where I find the information I need to add to the wp-config.php in my old site. I just can’t find it. The zip files I received only contain a wp-cache-config.php file. Any suggestions?

    I have uploaded WP into the domain I want to use. That created a wp-config.php, which I am assuming (from the GODaddy instructions) is where I find the information I need to add to the wp-config.php in my old site.

    The wp-config you want to use (even if you have to make it from the sample file) will have the database name, user, password and table_prefix of the new location there at GoDaddy.

    The zip files I received only contain a wp-cache-config.php file. Any suggestions?

    That is likely a file belonging to a cache plugin, and I would leave it out altogether for now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Moving hosts’ is closed to new replies.