How to migrate your WordPress site to another domain name?

By | October 23, 2024

Step 1: Install WordPress

Install WordPress at your new domain name with new database settings.

Step 2: Copy your existing database

I found it easier to compare the standard wordpress tables (there’s only 12) and for a simple wordpress site, only 5 were different.

  1. terms (ie categories)
  2. term relationships
  3. taxonomy
  4. postmeta (feature images etc)
  5. post (main one)

Step 3: wp-content/upload

Copy the contents of wp-content/uploads over to your new theme location.

Step 4: Customize your theme

You’ll need to go in and customize your widgets and menus.
If you want all your posts to appear on the home page, go to Settings > Reading and increase the post show count to something like 100.

Leave a Reply

Your email address will not be published. Required fields are marked *