How to Migrate My WordPress Website to Hostinger Agency Hosting Plan?

Migrate your Wordpress website to Agency hosting plan.

Updated 4 weeks ago

In this article you will learn how to migrate your WordPress website to your Agency hosting plan. There are three options from which you can choose:

  1. Automatic migration with just a few clicks

  2. Manual file upload for us to restore

  3. Manual file upload & restoration performed by you

You can find detailed steps on how to migrate for each option below.

Option 1: Automatic migration

If your website is located under the same account but on different hosting plans, you can clone your WordPress website to the Agency plan by using the Clone WordPress website feature!

Hostinger plan menu with Clone WordPress websites option highlighted

 

 

If your website is located in another hosting provider, you can refer to these steps below:

Click on Websites > Websites list > Migrate website:

Websites list menu and Migrate website button on the Agency Startup site card

Migrate Offline Website

If your site is offline or you have a backup, you can easily upload your website files and database using the ‘Upload Backup Files’ option.

Upload backup files migration option selected

After uploading your website backup, you’ll be redirected to a summary page to review the migration details before final submission. Once the migration request is submitted, our expert migration team will handle the transfer for you, ensuring a smooth and hassle-free website migration.

Migrate Online Website

If your website is online and you have the login credentials, simply select the “Use Login Details” option to securely migrate your site with ease.

Website migration: Use login details option selected, recommended card

Enter your website address (domain name) and click Next

Migration form with Website URL field focused and required, Back button, Next disabled, 13% progress

Enter your WordPress credentials and click Next

Hostinger WordPress migration form with username and password fields highlighted

Click Submit request once you are ready or Change to select a domain from your plan

Hostinger migration summary for WordPress site with Submit request button and 50% progress bar

Wait for the migration setup to be completed

Hostinger migration progress screen with 5% complete and “Getting ready to migrate your site” message

Do not leave this screen until the progress bar is completed. If you leave before the setup is complete all changes will be lost and you will have to repeat the process.

Wait for the migration to be completed. You will be notified about it via email.

Option 2: Manual migration

Step 1 – Take a compressed backup wp-content folder and export database at the previous hosting provider.

Step 2 – Click Add Website and select WordPress:

WordPress add website menu with WordPress option highlighted

Step 3 – Select Create New Website

WordPress create new website option selected

Step 4 – Fill in your credentials and select the same WordPress version as in your previous hosting and click next:

WordPress version dropdown set to 6.8.1 (latest) in login details form

Step 5 – Enter the domain name of your website or choose a temporary domain and click next:

Hostinger website setup with Use temporary domain button highlighted

Step 6 – Go to File Manager of your fresh WordPress installation and delete the wp-content folder (everything will be deleted except one folder)

Step 7 – Upload and extract the wp-content folder from previous hosting provider

Step 8 – Access the database which was created when installing WordPress by going to Databases > Management and click on Enter phpMyAdmin:

Hostinger Databases page with the Enter phpMyAdmin button highlighted

Step 9 – Select and drop all database tables

Step 10 – Import the database backup from your previous host

Step 11 – Check db-prefix in phpMyAdmin:

phpMyAdmin database table list with wp_ table prefixes highlighted in the left sidebar

Step 12 – If it’s different from “wp_”, then you need to update the wp-config file and set the same prefix as in the database (scroll down in the file to find the $table_prefix value):

wp-config.php editor with highlighted table prefix wp_

If you need to edit the wp-config file, you have to enable permissions by going to File Manager > Editing permission toggle off.

If migration is done to a different domain name than the original website (e.g. domain1.com migration to domain2.com or temporary domain xxxx.hostingersite.com) then you will also need to replace URLs in database for “home” and “site_url” values in wp-options table.

If the old URL is still visible on your website or the media of the site is not loading properly, you may need to use an additional tool to clear up the old site URLs in your database.