Migrating WP to another host problem
-
Hello.
I am migrating a WP site to another hosting company. The guy that runs the previous hosting company told me that there was no control panel (cpanel) because that hosting was a different and special one from wordpress (I don’t really believe him). The thing is that he only shared with me a way to access the files via FTP and there is apparently no way to get a .sql or .gz database because there is no Cpanel.
However I don’t know how to move the WP site that way. I would normally just create a backup via Phpmyadmin and then import it in the new hosting Cpanel.
Could you PLEASE, help me figure this out? Is it possible to create a database with a WP plugin and import it via Cpanel in the NEW host?
How can I do this migration?
Thanks!
-
Hello,
A couple of thoughts and questions:
1. Does the new hosting company provide a migration service? I recently finished a website for a client and was surprised to learn that GoDaddy (their new web host) had a migration service. It asked for a few credentials, the current location of the site and did the migration itself. Easy, peasy.
2. Would the native WordPress Import/Export plugin work? On the current site when in the admin panel go to Tools –> Export and select “All content” to create an export file and save a copy to your computer. Then in the new hosting WP installation go to Tools –> Import –> WordPress and click the “Choose a File” button to locate the export file you saved on your computer. Find it, select it and click the “Upload and import” button. You will be taken to another screen to select the author for each post type and there should also be an checkbox to Download all images and attachments (this may or may not do as instructed). When submitted, your site should be copied over from it’s current location. You will have to go throughout the site to make sure each page works as it did on the old site and you will probably have to do some additional configuring to match it.
3. Finally, I would look into a cloning plugins like WP Clone. I don’t have a lot of experience (or flawless success) with them, but it’s worth doing a little online research to see if these are viable options.
Whatever you chose, I would recommend trying to run a backup plugin of the database and files to make sure you have a copy in case something goes wrong. Since you also have FTP access, I would recommend copying over your wp-config.php file and wp-content/ folder for the same reason.
I hope this helps!
Thanks for the ideas. I will try all of them out to see if I can solve this.
However I have another question. Hopefully you can help me out. I am currently accesing the site using the temporary url of the domain. The WP directory will be installed in the root of the domain. however when I try to login using the temporary url like this: https://192.185.82.213/~psicolog/wp-admin, it redirects me to the login of the domain like this: psicologiaparaninos.com/wp-admin. I need to access the wordpress dashboard of the new site in the temporary url but I don’t know how to do it. Any thoughts?
Thanks!!
Useful codex: Moving WordPress
Ok, I was able to successfully upload the database. I used managewp.com to get the database file.
Here is what I did:
1. I downloaded the whole site from the root of the original domain psicologiaparaninos.com
2. I uploaded the whole site to the new host in the public_html folder. This means wp-admin, wp-content, wp-includes and all other root files.
3. I downloaded the database from managewp.com and uploaded via phpmyadmin to the new host.
4. I updated the wp-config.php file to point to the new database.NOTE: I am not changing domain name. I am only changing hosting.
Now I have the cloned site in the temporary url https://192.185.82.213/~psicolog/ and the original site in psicologiaparaninos.com
Of course the domain is right now pointing to the old host.
Here’s the deal…
Before I point the domain to the new host. I need to be sure that the cloned site is the same as the original site.
However if I go to the cloned site in the temp URL https://192.185.82.213/~psicolog/ it takes me to a 404 page in the wordpress blog.
Is this normal? Did I do something wrong? Could you please go to the domain and the temp URL and help me check to see if the migration is working so that I can finally point the domain to the new host?
Thank you!!
Hi,
Here’s what I would do;
I would access my DB using PHPMyAdmin and run a query to update the URL in the database to https://192.185.82.213/~psicolog/ …. do this on the new host database, not the old host you are moving away from.
If you don’t have access to PHPMyAdmin and want simple process, if you can access the WordPress admin on the new host, install a plugin called “search and replace” …. After install, you’ll have search and replace under settings or tools in WP Admin. You’ll see two sections, lets look at the replace section of that plugin with two inputs. First input, enter the domain URL and the second input enter the https://192.185.82.213/~psicolog/ URL… Check off all the options and click “replace” <– I think that’s the button called.
That will make your WordPress site work on the new host, if the site looks the same at https://192.185.82.213/~psicolog/ as it does at psicologiaparaninos.com … Go and point the domain to your new host. Then go through the above steps but this time in the first input enter https://192.185.82.213/~psicolog/ and second input psicologiaparaninos.com… Check all options and click the button.
That should work, let us know. ?? if not Skype me at Ajer2009, happy to assist (no cost)
Thank you.
Hi Artur!
Thanks for your answer! I don’t really understand that much about phpmyadmin so I would like to use your second suggestion of the plugin.
I just need to know how to access the admin in the temp URL. If I go to https://192.185.82.213/~psicolog/wp-admin or https://192.185.82.213/~psicolog/wp-login.php I am redirected to the login in the domain psicologiaparaninos.com/wp-admin.
So I don’t know how to access WP admin in the new host. Do you know how to do it??
Thanks!!
Hi,
If its redirecting you, the minimum you’d have to do, at very least is to go to “options” in your database using PHPMyAdmin and update the site URL. After you update the site URL, it should not redirect you. You could also enter this into config.php;
define(‘WP_HOME’,’https://192.185.82.213/~psicolog’);
define(‘WP_SITEURL’,’https://192.185.82.213/~psicolog’);Then go to settings and update the URL in general options/settings. Then load the site at https://192.185.82.213/~psicolog and compare it to old site or the actual domain.
Not sure if its against the rules but if you send me a PM here or email at [email protected] I’ll be happy to do this database query update for you. Just takes a minute with proper access.
Let me know ?? config stuff should work for you as temporary
Hi Artur! I found a very good tutorial to help me change the URL in phpmyadmin. One more thing I know how to do now. =)
So I changed the url to the temp url and the home looks the same as the domain.
However when I click to see any of the posts it takes me to a 404 error in the temp URL. The domain obviously takes me to the correct wp post. Does this mean that there is something wrong with the site?
Would you be so kind to check both temp URL and domain to see if you get the same error?
Thank you soooo much.
Hi,
On the new provider site, go to dashboard -> settings -> permalink and go to the bottom of the page and click the button to save and update your permalink. Let me know if that works and you can see your posts.
Thank you
Ok that is working. Thanks!!
Now I just see that there are a few pictures missing. Is there a way to get those to show again??
Thanks Artur!
Hi,
Yes, you would have to use that “search and replace” plugin to update all items in the database from old domain URL to the new host temp URL.
Pictures should show then. Hope it works.
Thank you.
Awesome… I think everything is working.
You are amazing Artur! Best help I have gotten ever! THANK YOU!
I hope nothing bad happens when I point the nameservers to the new host.
=) Thank you friend!
Hi,
Nothing bad will happen but to be perfect, you would use the “search and replace” plugin after your domain propagates to your new server/host, to change from the temp to the actual domain. So same steps as before but the URLs input be flipped. Make sense?
You can always come back here and ask for help ??
You are welcome, happy to help .. Always.
Cheers!
Artur! I need your help my friend.
Now everything in the blog is working perfectly. However there are images that have accents in the name. Those images that have accents now do not show in psicologiaparaninos.com.
By the way the site is not pointing to the new host. So now I just have to fix that the images that have accents on the name somehow show.
Don’t know what I should fix.
Please help me.
Thanks!!!
Hi there,
Let me take a look ??
- The topic ‘Migrating WP to another host problem’ is closed to new replies.