r/learnwebdev • u/Kboos • Aug 26 '21
Porting WordPress site from one host to another??
Is this hard to do? I own a magazine with about 10 years worth of posts/photos. How hard would it be to move from our current host "TownNews" to another host. The reason we'd like to move is because the current host is behind in WP updates and its holding us back. Also, we feel there will be a significant savings moving to another host. I'd love your ideas about great WP hosts, too. Thank you
6
Upvotes
3
u/MassSnapz Aug 26 '21
It's a peace of cakeif you know how to utilize cpanel.
If you used the same domain name then at this point you should be good 2 go. If not download srdb (search replace db) and upload to a new directory in your website. You will need to search for all occurrences of OldDomainName.com and replace with NewDomainName.com it will only search and replace the exact string so you don't need to worry about https or www .
There are tons of guides online to do this, I suggest following one as there maybe things that I forgot to write down due to just doing them automatically when I do this to a website.
1
u/[deleted] Aug 27 '21
A WordPress host like WP Engine have an automated migration plugin that utilizes a SFTP connect to do this for you so that might be worth looking into.
But yes the wp-content folder and the database file should be all you need to migrate your content to a new host.
Import the database via phpmyadmin and replace the wp-content vis SFTP and you should be good to go.