For those who are awake!
Discount -15%
We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
New design
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

How to properly transfer your wordpress site to another domain?

  1. Preparatory work before moving the site
  2. Deactivating plugins
  3. Database transfer
  4. Manual copying e
  5. Automatic copying
  6. Setting up redirection from the old domain to the new one
  7. Using 301 redirect
  8. Guidelines for changing your domain name in Search Console
  9. Instructions on changing the domain name in Yandex webmasters
  10. Analytics systems migration
  11. Checking the correctness of the site transfer
  12. Checking for broken links
  13. Checking settings and plugins
  14. Some helpful tips

Many people face the need to move a site to a new host due to problems with their current provider or for the marketing development of the resource. But too often, the transition to a more reliable host is delayed over and over again for fear of making mistakes and damaging the technical elements of the site.

We have prepared a video for you. We advise you to take a look.

Preparatory work before moving the site

There are several ways to transfer, and now we will get acquainted with the manual transfer of a resource managed by CMS wordpress. This type of transfer is a fairly robust variety, and once you understand how it works, you can deal with any problems that occur when changing a domain.

Before starting the transfer process, there are several preparatory steps you must take.

Deactivating plugins

Please note that when translating a WordPress CMS to a different hosting, your pre-installed plugins may fail. WordPress itself is very stable, and quickly adapts to new changes, but errors can occur in the work of third-party plugins.

Therefore, to deactivate all activated plugins, open the admin panel and follow this path: Plugins -> Installed plugins -> Select all -> Mass action -> Disable -> Apply

Database transfer

It is recommended that you keep a copy of your databases at all times before making any changes, and WordPress migration is no exception. There are a couple of native WordPress plugins for this, but it's better to use the manual approach if you learn how to track all changes.

Manual copy

To back up, select the WordPress database and then select Export as shown in the screenshot.

 

Make sure you are using SQL format and click Go. WordPress data will be exported in .sql format. It is recommended that you save the downloaded SQL file in a separate folder on your hard drive so that you can easily find it later. You can also use the command line to transfer the copied database.

For manual transfer, you should download the complete WordPress installation folder so that your data is not lost.

Use any FTP / SFTP client like FileZilla and login to your host. Then download the htdocs folder – it can also be public_html - to the WordPress installation folder.

Automatic copying

Download and install the UpdraftsPlus plugin for backup and restore. On the Installed Plugins page, find the UpdraftsPlus plugin and activate it.

After installing the plugin, on the admin page go to Settings -> UpdraftsPlus Backups and click Backup.

 

Copying may take a while depending on the size of your WordPress site, but after the process is complete, click on the “Exisiting Backups” tab to download the backup to your computer and then move it to a dedicated folder.

Setting up redirection from the old domain to the new one

There are several ways to set your WordPress URL, we will discuss a few common methods. First of all, make sure you have successfully specified a new domain for your new hosting account.

Using 301 redirect

To migrate your old SEO domain (or SEO value) to your new one, it is important that you set up a 301 redirect like this.

Open the .htaccess file in your old WordPress installation folder and add the below rewrite rules so that any visitor to your site using the old domain URL will be redirected to the new domain.

RewriteEngine On

RewriteCond %{HTTP_HOST}^olddomain.com$

[OR]

RewriteCond %{HTTP_HOST}^www.olddomain.com$

RewriteRule (.*)$ http://www.newdomain.com/$1 [R=301, L]

Guidelines for changing your domain name in Search Console

Google needs to know that you have migrated your WordPress site to a new domain and this is where your content is now. To do this, you can use the Change Address tool, which is part of your account in the Search Console.

First you need to add and confirm your new site. Verification is the process of confirming that you are the owner of the site on the new domain. Google must verify your ownership because once you verify your site or app, you can access its data in a Google search.

The easiest way to verify your new domain is to add your new site to the search console.

 

Once you are done with the verification process, you need to use the Change Address tool. On the search console home page, click the domain you want to migrate from. Click the gear icon and click Change Address.

Instructions on changing the domain name in Yandex Webmaster

For Yandex, you also need to re-enter the new domain name. Click the Add button at the top of the page to start the process.

 

In addition to the "Select Site" dropdown menu in the upper right corner of the site, you should see a + icon. Click on the icon to start the process of submitting your site.

 

Make sure you enter the correct url for your website given the WWW or non-WWW version, or HTTPS of your site.

Analytics systems migration

Since you have a new domain, you must re-enter its data into the analytics system. Follow the Google tool's instructions and don't forget to add your new tracking code to your site.

 

The last step is to submit your sitemap to the search console. If you have not yet created a sitemap for your new domain, first you need to log in to your account again and go to the "Scan" item> "Sitemaps". Click on Add / Verify Sitemap and enter a new web address.

Checking the correctness of the site transfer

So you've uploaded your database and files to your new domain, and you think the website migration job is done? Not really, because you need to check if your efforts have paid off. Upload a new site and check if everything is the same as in the previous domain. If everything looks good, then the migration was successful. However, there are a few more things to check.

Checking for broken links

A new domain is a great way to start from scratch and offer your target users a flawless experience, which is not possible if you have broken links on your site. Check every page with W3C Link Checker.

 

If the broken link is caused by a fake URL from another website you are linking to, then you need a 301 redirect that will take users to the correct location. The same happens if the broken link comes from your site. If you don't have room to redirect the broken link, it's best to remove it from your page.

Checking settings and plugins

WordPress can reset your settings when things change or switch, so you need to make sure everything is the same as before:

 

 

Make sure your plugins are active too.


 

Some helpful tips

Php.ini and .htaccess files

These files may contain settings that only work with your previous hosting, so if something doesn't work, check those files first. Try renaming or commenting out various lines and find hardcoded paths that may not exist in your new environment.

Caching plugins

Some caching plugins will modify your .htaccess or create files in absolute paths that may not exist in your new hosting setup.

Google reCaptcha Plugin

If you have any Google reCaptcha plugins installed, be sure to get a new API key for your new domain so that the plugin won't run into trouble displaying the reCaptcha.

Jetpack plugin

If you have the Jetpack plugin installed, remember to reconnect your WordPress site to WordPress.com as you have moved to a new domain. If you've used absolute URLs in your content, you'll need to update them as well.

Before starting any site migration, we highly recommend reading the WordPress Codex for more details on the various processes.


 

Order hosting and choose a domain in the company "Hosting Ukraine".

We have a high-quality and reliable service, a convenient control system through the admin panel, intelligent security systems and technical support, which will help resolve all emerging issues at any time of the day.

Any tariff of our hosting is suitable for Wordpress. You can choose exactly the package that best suits the needs of your project: SSD hosting, VPS on SSD , Cloud (cloud) hosting, cloud VPS. Dedicated server or dedicated server.

We have developed a system for automatic testing of the site, this will give you the opportunity to check dozens of indicators and settings of the site and domain. Will check the correctness of the WordPress configuration file, database connection, theme and module settings. Check if the php parameter is configured correctly_memory_limit.

Join Hosting Ukraine and we will take care of the technical side of your business.

 


Only registered users can leave comments

Subscribe to the newsletter

We will send announcements of new articles and useful tips once a week

Follow us on social networks