Quick Tip: How to Move a WordPress Site

Note: This article was published while I was in my early 20s. I was much younger and dumber. Please don't hold it against me. One of the perils of having a 20+ year old website!

I won’t go too in-depth here, but I will describe the steps you need to take to move a WordPress website to a different host.

  1. Download all of the site files from the old host
  2. Export the entire database WordPress is using. If you’re not sure how to do that, there are instructions here.
  3. If there are existing files on the new host, back them up by downloading them. Do the same for any databases on the new host.
  4. Upload the site files from the old host to the new one.
  5. Create a new database on the new host. Each host is different, but you’ll have to create a database, a database user, and then give the database user all privileges on the new database.
  6. Import the database from the old host to the new database.
  7. Change the wp-config.php file info to the new database name, host, username, and password.

Some Things to Consider:

  • Most hosts keep the database host as localhost but not all of them. If you’re not sure what your host is, you should contact the new host’s support.
  • This is just moving WordPress to a new sever; I assume you’ve already pointed the domain. If you’re changing domains, you will also have to change all of the domain references in the WordPress database, most notably in the wp_options table (there are two references there). If you don’t change the wp_options table, your site will not work. The best way to change all of the references (most of which being in the posts table) is probably to do a Find/Replace on the .sql file in your favorite text editor after you complete step 2.
  • If you’re moving a WordPress MU/Multisite install, you will also have to configure the sever to handle subdomains. The codex has instructions on how to do that here.

Similar Posts

  • First Post

    Note: This article was published while I was in my early 20s. I was much younger and dumber. Please don’t hold it against me. One of the perils of having a 20+ year old website!This is my first post using word press. Its basically like blogger, but you host it, and its totally customizable, and…

  • New way to comment!

    Note: This article was published while I was in my early 20s. I was much younger and dumber. Please don’t hold it against me. One of the perils of having a 20+ year old website!Dude to the massive amounts of spam that I just got today (over ~50 messages in a few hours), I installed…

  • Better Audience Engagement for Your Content with Taylor Waldon

    Before we get too deep into this season, I wanted to make sure you and I have a good baseline for creating content and engaging with the audience. Taylor Waldon, the Content Strategist for GiveWP, does a fantastic job of this. We talk about how they are expanding their niche and why creating the right content is crucial. This is a must list for anyone who’s creating content for their small business, no matter what you do.

    The post Better Audience Engagement for Your Content with Taylor Waldon appeared first on How I Built It .

  • | |

    Random Code Generator 1.0

    Note: This article was published while I was in my early 20s. I was much younger and dumber. Please don’t hold it against me. One of the perils of having a 20+ year old website!A couple of weeks ago, when I officially launched the redesign, I mentioned the forthcoming release of a plugin I wrote…

  • |

    Responsive Design with WordPress Giveaway

    As you’ve probably read, my book, Responsive Design with WordPress, came out last month and is now available to purchase online and in stores. My publisher has also sent me a few copies to give to family, friends, important people, etc. I’ve decided that I’m going to give a few of those copies away through a…

  • |

    Regarding Building WordPress Themes from Scratch

    Lately I have been receiving a lot of questions regarding the availability of my book, Building WordPress Themes from Scratch. After speaking with the publisher, Rockable Press, it seems they’ve had to make some unfortunate changes regarding their distribution model. From their website: All Rockable Press books are now exclusively available with any Tuts+ Premium subscription,…

One Comment

  1. To move a database to an other host, will not be very easy. As I am concerned, I looking for a good host who can create a databas for me to manage my visitors and clients.

    Is there anybody who can help me?
    sincerely
    Elemer

Comments are closed.