• Okay, I had a WP installation in my domain, enthios.com. I switched hosts from 1and1 and Bluehost. I created a new WP installation on enthios.com with Bluehost, but I stupidly forgot to export the WP installation files from 1and1. Now, of course, I cannot get in to the wp-admin of the old installation on 1and1 because it points to the new domain. I do have ftp access to the old installation; /enthios is one of the folders.

    What is the best way to transfer the files from the old WP installation to the new one?

    I believe what I need to do is go into the WP-admin folder and change some of the php coding so that it does not automatically point to the new instalation when I try to log in with my admin account. I could, for example, point another url to folder of the old installation, then use that url to access the wp-admin folder.

    Help?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Your website URL is only an alias to the real server (i.e. works when the redirection kicks in). Until it does you always usually have access to a less aesthetic URL that is the ‘real’ address of the server.

    What I mean is that if you can find out this address on your old 1and1 account then you will still (well, should) be able to log in to the WordPrsss installation that is still there (just obviously not with the enthios.com address that has now been forwarded to your new webhost).

    Look through your original login e-mails when you had the 1and1 account setup you never know you may get lucky and find the address you need. Or you could ask 1and1.

    Otherwise, if you have FTP access only (do you have PHPMyAdmin access too?) you could try and export the db and recreate on your new server and point to the new db from your clean WordPress install and upload your old theme and Plugins via FTP.

    Hope that helps!

    Thread Starter justmichael

    (@justmichael)

    Alas, that does not work. I have the original link but when I access the /wp-admin sub-directory, it automatically forwards me to the https://www.enthios.com domain on the new server.

    OK, it looks like you have to do it the hard way and transfer the db and file manually, darn! Good luck.. ??

    Thread Starter justmichael

    (@justmichael)

    I would think the easy way would be to go into one of the .php files and just change the coding so it does not automatically “look” for enthios.com. Then I could log on, export the db, and re-import it.

    since you changed the dns for the domian name to point to new server the only way you might be able log in is using IP address or ask old server admin for a backup.

    Thread Starter justmichael

    (@justmichael)

    I have a backup. But what I need is the exported database. I do have the IP address of the old server but, as I said above, when I access the /wp-admin folder it automatically re-routes to the new server. That is why I think the only way to get in is to edit the /wp-admin/index.php file.

    I just don’t know how to edit it.

    I think that is because your domain name is saved in wp-options table that is why it re routes to new server.if you have full backup than I am sure your new server support can restore your website the way it was in old server as I have done that before only snag is that your account needs to be same user name as database uses your username_databasename

    If you can still go in old server than do not try and go in wp-admin export your database from myphpadmin.

    Thread Starter justmichael

    (@justmichael)

    i have the full wp installation on my old server. and i can access individual files using ftp. and i have download the entire installation to my hard drive. but i cannot get ‘in’ to export the installation so that it can be re-imported.

    Do you still have access to your 1and1 host panel? If so, you can get an .sql export of the database. If they have PHPMyAdmin, that will make it easier for you. If they do not, you can contact them and they should be able to help you find your database and export it.

    You can then use PHPMyAdmin to import your .sql file into your new database. Note that you will most likely need to select all your tables and empty them before you can do the import.

    Thread Starter justmichael

    (@justmichael)

    Yes, I used 1and1’s PPHPMyAdmin to export the db to a text-based .sql file. When I tried to import it using PHPMyAdmin from my BlueHost account, I got an error message saying I do not have access to that db.

    If you have not already, use the Reset MySQL Password icon to setup your master MySQL Password.

    After doing that, go to the MySQL Databases icon and make sure your specified database has a username and password added to it, make sure the user has all permissions possible given to it.

    Once you are certain the database, username, and password are all good(remember these, because you may need to update your wp-config.php file with them), then go back to PHPMyAdmin.

    In PHPMyAdmin, first select your chosen database from the list on the left, then select all tables (if there are any existing tables) and empty them.

    Once the tables are emptied, try the import again.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Transferring to another domain host’ is closed to new replies.