Hi;
I am not the actual owner of the situation noted here, just know more than he does... and I have all of his logins and passwords. I have shelled into his directories and poked around.
Trying to migrate a WP installation from one domain name to another, both hosted on Sonic, in parallel directories. Per WP:
https://wordpress.org/support/article/m ... e-and-urls
Tells me this:
1 Download your existing site files.
2 Export your database – go in to MySQL and export the database.
3 Move the backed up files and database into a new folder – somewhere safe – this is your site backup.
4 Log in to the site you want to move and go to Settings > General, then change the URLs. (ie from http://example.com/ to http://example.net ) – save the settings and expect to see a 404 page.
5 Download your site files again.
6 Export the database again.
7 Edit wp-config.php with the new server’s MySQL database name, user and password.
8 Upload the files.
9 Import the database on the new server.
This sounds simple enough. BUT... The DB named in the current wp_config.php file doesn't seem to exist. If I go to Member Tools and attempt to manipulate the DB (Manage -> dbname), the DB name shown is not the one listed in the wp-config.php file. The name via Member Tools is a DB that was a *previous* installation. I have no visibility to the DB supposedly being used by the current WP site. This makes me nervous about exporting/importing the DB.
Further, WP talks about needing to do a search and replace in the DB for the URL string. Hard to do if I can't see the DB.
Should this need to be this complicated? Why might I need to export and import the DB if the new site merely wants to use a new URL/domain name? The owner has done this more than once (or at least, had someone do it), and there are now 5 or 6 directories sitting next to each other, all with different DB names in their config files, different URLs to access them, and lots of confusion on my part.
Any help appreciated; thanks!
I am not the actual owner of the situation noted here, just know more than he does... and I have all of his logins and passwords. I have shelled into his directories and poked around.
Trying to migrate a WP installation from one domain name to another, both hosted on Sonic, in parallel directories. Per WP:
https://wordpress.org/support/article/m ... e-and-urls
Tells me this:
1 Download your existing site files.
2 Export your database – go in to MySQL and export the database.
3 Move the backed up files and database into a new folder – somewhere safe – this is your site backup.
4 Log in to the site you want to move and go to Settings > General, then change the URLs. (ie from http://example.com/ to http://example.net ) – save the settings and expect to see a 404 page.
5 Download your site files again.
6 Export the database again.
7 Edit wp-config.php with the new server’s MySQL database name, user and password.
8 Upload the files.
9 Import the database on the new server.
This sounds simple enough. BUT... The DB named in the current wp_config.php file doesn't seem to exist. If I go to Member Tools and attempt to manipulate the DB (Manage -> dbname), the DB name shown is not the one listed in the wp-config.php file. The name via Member Tools is a DB that was a *previous* installation. I have no visibility to the DB supposedly being used by the current WP site. This makes me nervous about exporting/importing the DB.
Further, WP talks about needing to do a search and replace in the DB for the URL string. Hard to do if I can't see the DB.
Should this need to be this complicated? Why might I need to export and import the DB if the new site merely wants to use a new URL/domain name? The owner has done this more than once (or at least, had someone do it), and there are now 5 or 6 directories sitting next to each other, all with different DB names in their config files, different URLs to access them, and lots of confusion on my part.
Any help appreciated; thanks!