Title: Migrating your site Part 1: Changing to a new host and domain
Published: 5 April 2024
Last modified: 17 July 2024

---

[Home](https://learn.wordpress.org)[Courses](https://learn.wordpress.org/courses/)
[Intermediate WordPress User](https://learn.wordpress.org/course/intermediate-wordpress-user/)
Migrating your site Part 1: Changing to a new host and domain

 [ Exit Course ](https://learn.wordpress.org/course/intermediate-wordpress-user/)

 1.   a.  [   User management  ](https://learn.wordpress.org/lesson/user-management/) 
         [Preview](https://learn.wordpress.org/lesson/user-management/)
 2.   1 lesson
 3.   a.  [   Migrating your site Part 1: Changing to a new host and domain  ](https://learn.wordpress.org/lesson/migrating-your-site-part-1-changing-to-a-new-host-and-domain/)
         [Preview](https://learn.wordpress.org/lesson/migrating-your-site-part-1-changing-to-a-new-host-and-domain/)
      b.  [   Migrating your site Part 2: Changing your host but keeping your domain  ](https://learn.wordpress.org/lesson/migrating-your-site-part-2-changing-your-host-but-keeping-your-domain/)
         [Preview](https://learn.wordpress.org/lesson/migrating-your-site-part-2-changing-your-host-but-keeping-your-domain/)
 4.   2 lessons, 2 quizzes
 5.   a.  [   Differentiating between homepage display settings and various templates  ](https://learn.wordpress.org/lesson/differentiating-between-homepage-display-settings-and-various-templates/)
         [Preview](https://learn.wordpress.org/lesson/differentiating-between-homepage-display-settings-and-various-templates/)
      b.  [   Personalizing your 404 template  ](https://learn.wordpress.org/lesson/personalizing-your-404-template/)
         [Preview](https://learn.wordpress.org/lesson/personalizing-your-404-template/)
      c.  [   Customizing the search results template  ](https://learn.wordpress.org/lesson/customizing-the-search-results-template/)
         [Preview](https://learn.wordpress.org/lesson/customizing-the-search-results-template/)
      d.  [   Customizing your single posts template  ](https://learn.wordpress.org/lesson/customizing-your-single-posts-template/)
         [Preview](https://learn.wordpress.org/lesson/customizing-your-single-posts-template/)
      e.  [   Creating a custom template  ](https://learn.wordpress.org/lesson/creating-a-custom-template/)
         [Preview](https://learn.wordpress.org/lesson/creating-a-custom-template/)
      f.  [   Adding and customizing a category template  ](https://learn.wordpress.org/lesson/adding-and-customizing-category-template/)
         [Preview](https://learn.wordpress.org/lesson/adding-and-customizing-category-template/)
      g.  [   Styling your site with Global Styles  ](https://learn.wordpress.org/lesson/styling-your-site-with-global-styles/)
         [Preview](https://learn.wordpress.org/lesson/styling-your-site-with-global-styles/)
      h.  [   Using the Style Book  ](https://learn.wordpress.org/lesson/using-the-style-book/)
         [Preview](https://learn.wordpress.org/lesson/using-the-style-book/)
 6.   8 lessons, 4 quizzes
 7.   a.   [   Taking advantage of query loops  ](https://learn.wordpress.org/lesson/taking-advantage-of-query-loops-2/)
          [Preview](https://learn.wordpress.org/lesson/taking-advantage-of-query-loops-2/)
      b.   [   Using the Comments block  ](https://learn.wordpress.org/lesson/using-the-comments-block/)
          [Preview](https://learn.wordpress.org/lesson/using-the-comments-block/)
      c.   [   Designing with the Columns block  ](https://learn.wordpress.org/lesson/designing-with-the-columns-block/)
          [Preview](https://learn.wordpress.org/lesson/designing-with-the-columns-block/)
      d.   [   Using the Group block  ](https://learn.wordpress.org/lesson/using-the-group-block/)
          [Preview](https://learn.wordpress.org/lesson/using-the-group-block/)
      e.   [   Designing with Row and Stack blocks  ](https://learn.wordpress.org/lesson/designing-with-row-and-stack-blocks/)
          [Preview](https://learn.wordpress.org/lesson/designing-with-row-and-stack-blocks/)
      f.   [   Uncovering the Cover block  ](https://learn.wordpress.org/lesson/uncovering-the-cover-block/)
          [Preview](https://learn.wordpress.org/lesson/uncovering-the-cover-block/)
      g.   [   Advanced WordPress block layouts  ](https://learn.wordpress.org/lesson/advanced-wordpress-block-layouts/)
          [Preview](https://learn.wordpress.org/lesson/advanced-wordpress-block-layouts/)
      h.   [   Building a page with only patterns  ](https://learn.wordpress.org/lesson/building-a-page-with-only-patterns/)
          [Preview](https://learn.wordpress.org/lesson/building-a-page-with-only-patterns/)
      i.   [   Creating your own custom synced and non-synced patterns  ](https://learn.wordpress.org/lesson/creating-your-own-custom-synced-and-non-synced-patterns/)
          [Preview](https://learn.wordpress.org/lesson/creating-your-own-custom-synced-and-non-synced-patterns/)
      j.   [   Organizing your Media Library  ](https://learn.wordpress.org/lesson/organizing-your-media-library/)
          [Preview](https://learn.wordpress.org/lesson/organizing-your-media-library/)
 8.   10 lessons, 4 quizzes
 9.   a.  [   SEO strategies  ](https://learn.wordpress.org/lesson/seo-strategies/) [Preview](https://learn.wordpress.org/lesson/seo-strategies/)
      b.  [   What is accessibility, and why is it important?  ](https://learn.wordpress.org/lesson/what-is-accessiblity-and-why-is-it-important/)
         [Preview](https://learn.wordpress.org/lesson/what-is-accessiblity-and-why-is-it-important/)
      c.  [   Testing your content for accessibility  ](https://learn.wordpress.org/lesson/testing-your-content-for-accessibility/)
         [Preview](https://learn.wordpress.org/lesson/testing-your-content-for-accessibility/)
 10.  3 lessons, 2 quizzes
 11.  a.  [   Tools: Export and Import  ](https://learn.wordpress.org/lesson/tools-export-and-import/)
         [Preview](https://learn.wordpress.org/lesson/tools-export-and-import/)
      b.  [   Tools: Site Health  ](https://learn.wordpress.org/lesson/tools-site-health/)
         [Preview](https://learn.wordpress.org/lesson/tools-site-health/)
 12.  2 lessons, 1 quiz
 13.  a.  [   Managing Settings: General  ](https://learn.wordpress.org/lesson/managing-settings-general-2/)
         [Preview](https://learn.wordpress.org/lesson/managing-settings-general-2/)
      b.  [   Managing Settings: Writing  ](https://learn.wordpress.org/lesson/managing-settings-writing-2/)
         [Preview](https://learn.wordpress.org/lesson/managing-settings-writing-2/)
      c.  [   Managing Settings: Reading  ](https://learn.wordpress.org/lesson/managing-settings-reading-2/)
         [Preview](https://learn.wordpress.org/lesson/managing-settings-reading-2/)
      d.  [   Managing Settings: Discussion  ](https://learn.wordpress.org/lesson/managin-settings-discussion/)
         [Preview](https://learn.wordpress.org/lesson/managin-settings-discussion/)
      e.  [   Managing Settings: Media  ](https://learn.wordpress.org/lesson/managing-settings-media/)
         [Preview](https://learn.wordpress.org/lesson/managing-settings-media/)
      f.  [   Managing Settings: Permalinks  ](https://learn.wordpress.org/lesson/managing-settings-permalinks/)
         [Preview](https://learn.wordpress.org/lesson/managing-settings-permalinks/)
      g.  [   Managing Settings: Privacy Policy  ](https://learn.wordpress.org/lesson/managing-settings-privacy-policy/)
         [Preview](https://learn.wordpress.org/lesson/managing-settings-privacy-policy/)
 14.  7 lessons, 2 quizzes
 15.  a.  [   Website optimization  ](https://learn.wordpress.org/lesson/website-optimization/)
         [Preview](https://learn.wordpress.org/lesson/website-optimization/)
      b.  [   Image optimization  ](https://learn.wordpress.org/lesson/image-optimization/)
         [Preview](https://learn.wordpress.org/lesson/image-optimization/)
 16.  2 lessons, 2 quizzes
 17.  a.  [   Domain management: Understanding DNS records  ](https://learn.wordpress.org/lesson/domain-management-understanding-dns-records/)
         [Preview](https://learn.wordpress.org/lesson/domain-management-understanding-dns-records/)
 18.  1 lesson, 1 quiz
 19.  a.  [   Essential security plugin features and settings  ](https://learn.wordpress.org/lesson/essential-security-plugin-features-and-settings/)
         [Preview](https://learn.wordpress.org/lesson/essential-security-plugin-features-and-settings/)
 20.  1 lesson

### Site migration

# Migrating your site Part 1: Changing to a new host and domain

## Transcript

### Introduction

Welcome to the first session of migrating your website. In this lesson, we will 
explore how you can change hosting providers and your domain name. Why would someone
want to migrate their site? Some of the reasons might be moving to a new host, changing
your domain name, or moving from HTTP to HTTPS. This tutorial is right for you if
you want to move WordPress hosts and change your domain name.

### Using a plugin

All you need to do is set up a new site and install a migration plugin on your old
and new websites. And also remember to make a backup of your site on a device before
starting the migration. There are various migration plugins available in the Plugins
Directory. Plugins such as Duplicator, Backup Migration, and All-in-One WordPress
Migration are just some of the plugins worth exploring. Some hosts even have their
own migration plugins if you plan to move your site to them.

### Export

Today, I am going to use the All-in-One WordPress Migration plugin. So once you 
have set up your new domain with your new host, let’s make our way to the front 
end of our old website, which we will transfer to a new home. Our first tip now 
is to go to the dashboard, head to plugins, and add the All-in-One migration plugin.
Once it is installed and activated, we will go to the plugin in the left sidebar,
click Export, and select File. It is also advised to export to an external drive
to ensure you have a backup. When you click on File, it will start preparing the
export. Once completed, we can click on Download and download the file to our computer.

### Import

The next step is to make our way to our new domain and install the plugin there 
as well. We need the plugin on the old website and the new one as we export and 
import from one to the other. Once the plugin has been installed and activated, 
we can hover over the plugin in the left sidebar and click on Import. Next, we will
import or upload the file from our computer. Please take note that this might take
a few minutes. Once the process has been completed, we can click on Proceed, as 
we have not added any other content to the new site. And lastly, Finish. Now, if
we make our way to the front end of our new domain, we will see that the entire 
site has been transferred or migrated.

### Redirects

Before we end, there is one last consideration. If you are concerned about SEO, 
it is advised to set up 301 redirects. A 301 redirect indicates to search engines
that a page has been moved permanently. It means users will automatically be sent
to a new URL if they request an old URL. There are a few ways to do this, but the
easiest way is to use a plugin such as Redirection, Simple 301 Redirects, or All-
in-One SEO to ensure you don’t lose your website’s search engine rankings, traffic,
and conversions. You can search the Plugins Directory to find the right plugin for
you. But I did want to mention some plugins may offer additional and faster ways
to set up redirects through paid features. But it is also possible to change the
redirects one by one using many free versions of plugins.

### Conclusion

All the best in migrating your site to a new hosting provider and domain name.

 This is a preview lesson

Register or sign in to take this lesson.

 [ Take course ](https://learn.wordpress.org/course/intermediate-wordpress-user/)

 [ Sign in ](https://login.wordpress.org/?redirect_to=https%3A%2F%2Flearn.wordpress.org%2Flesson%2Fmigrating-your-site-part-1-changing-to-a-new-host-and-domain%2F&locale=en_US)

##  Suggestions

 Found a typo, grammar error or outdated screenshot? [Contact us](https://learn.wordpress.org/report-content-feedback/).