How to migrate my WordPress website to Hostinger Agency hosting plan

Migrate your Wordpress website to Agency hosting plan.

Updated 20 hours ago

Hostinger Agency Hosting lets you migrate your WordPress website using one of three options: automatic migration, manual file upload for Hostinger to restore, or manual file upload and restoration performed by you.

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. Go to Websites, click Import site, then choose Clone website. See how to clone a WordPress website to Agency Hosting Plan for the full steps.

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

Click on Websites →  Websites list →  Import site, then choose Migrate from another host if you have login credentials, or Upload your website files if you have a backup archive:

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 your website files option.

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 Migrate from another host option to securely migrate your site with ease.

Then you can continue following these steps:

  1. Enter your website address (domain name) and click Next
    Migration form with Website URL field focused and required, Back button, Next disabled, 13% progress
  2. Enter your WordPress credentials and click Next
    Hostinger WordPress migration form with username and password fields highlighted
  3. 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
  4. 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

  1. Take a compressed backup wp-content folder and export database at the previous hosting provider.
  2. Click Create site and select WordPress:
  3. 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
  4. Enter the domain name of your website or choose a temporary domain and click next:
    Hostinger website setup with Use temporary domain button highlighted
  5. Go to File Manager of your fresh WordPress installation and delete the wp-content folder (everything will be deleted except one folder)
  6. Upload and extract the wp-content folder from previous hosting provider
  7. 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
  8. Select and drop all database tables
  9. Import the database backup from your previous host
  10. Check db-prefix in phpMyAdmin:
    phpMyAdmin database table list with wp_ table prefixes highlighted in the left sidebar
  11. 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_

NOTES

  • 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.
  • Only `.htaccess` and `wp-content` can be deleted during this step.
  • Do not delete WordPress core system files or folders, such as `wp-admin`, `wp-includes`, `index.php`, `wp-activate.php`, or `wp-blog-header.php`. These appear as symlinks in File Manager and are required for your website to run. Deleting them causes a 500 Internal Server Error.

Once your migration is complete, your WordPress website will be fully set up on your Agency Hosting plan. For more on your plan’s features, see how to get started with Hostinger Agency Hosting plans.