ThisCalculator

Everyday

Transfer a wordpress site between hostinger accounts what moves and how to switch safely?

Updated · Standard formula, shown below

Transferring a WordPress site between two Hostinger accounts moves your website’s files, database, and configuration to a new hosting plan, and doing it safely means you keep the site intact and avoid downtime. This guide explains exactly what gets moved, what doesn’t, and the step-by-step process to switch without losing data or breaking your site.

What Actually Moves in a Hostinger-to-Hostinger Transfer

When you transfer a WordPress site between Hostinger accounts, you are moving the entire website from one hosting environment to another. This includes:

  • Website files – all PHP files, images, CSS, JavaScript, and plugins/themes stored in the public_html directory (or a subdirectory if you use one).
  • Database – the MySQL database that holds your posts, pages, user accounts, comments, settings, and plugin data. This is the most critical part; without it, your site appears blank.
  • WordPress configuration – the wp-config.php file contains database credentials and security keys. It must be updated to match the new host’s database details.
  • Email accounts and settings – if you use Hostinger’s email service, those mailboxes and forwarders are tied to your hosting account, not just the domain. They need to be recreated on the destination account.
  • SSL certificates – Hostinger provides free SSL via Let’s Encrypt. A new certificate is issued automatically for the domain on the new account, but you may need to re-enable it.

What does not move automatically: your domain’s DNS settings, any cron jobs you set up outside of WordPress, and custom server-level configurations (like .htaccess rules) that aren’t part of the standard WordPress installation. You’ll need to replicate those manually.

Why You Might Need to Transfer Between Accounts

There are several common reasons you might want to move a WordPress site from one Hostinger account to another:

  • You purchased a new hosting plan – maybe you upgraded from shared hosting to a cloud or VPS plan, or you created a separate account for a client project.
  • You’re consolidating multiple sites – if you have several websites spread across different accounts and want them under one login for easier management.
  • You’re selling or handing over a site – transferring to the buyer’s or client’s Hostinger account is part of the handover.
  • You want a fresh start – perhaps your current account has accumulated junk files or you want a clean environment.

Whatever your reason, the transfer process is the same whether you’re moving within the same Hostinger region or to a different data center.

Pre-Transfer Checklist: What to Do Before You Start

Before you touch anything, take these preparatory steps to ensure a smooth migration:

  1. Back up your site – use Hostinger’s built-in backup tool (available in hPanel under “Backups”) or a plugin like UpdraftPlus. Download a full backup to your computer or cloud storage. This is your safety net.
  2. Note your current WordPress version and PHP version – check the Site Info section in hPanel. The destination account should run at least the same PHP version, ideally newer.
  3. List your email accounts – if you use Hostinger email, write down all mailbox names, passwords, and forwarders. You’ll recreate them on the new account.
  4. Check your domain’s DNS – if your domain is registered with Hostinger, it’s likely using their nameservers. If it’s external, note the current DNS records (A, CNAME, MX) so you can update them if needed.
  5. Disable caching – turn off any caching plugins (like WP Super Cache or W3 Total Cache) to avoid serving stale files during the migration.
  6. Update WordPress, themes, and plugins – ensure everything is up to date to minimize compatibility issues on the new server.

Step-by-Step: How to Transfer Your Site Safely

There are two main methods: using Hostinger’s built-in migration tool (if available) or doing a manual transfer. The manual method is reliable and works for any Hostinger account.

Method 1: Using Hostinger’s Migration Service (if offered)

Hostinger sometimes offers free website migration for new accounts. If your destination account has this option, you can submit a request and their team will move the site for you. However, this service is typically for transfers from other hosts, not between two Hostinger accounts. Check your hPanel dashboard for a “Migration” section – if it’s there, you can follow the prompts. If not, use Method 2.

Method 2: Manual Transfer (Recommended for Control)

This method gives you full control and works every time. You’ll need FTP access (or Hostinger’s File Manager) and phpMyAdmin for the database.

Step 1: Export Your Database

  1. Log into the source account (the one with the site you’re moving).
  2. Go to Databases → phpMyAdmin.
  3. Select your WordPress database (usually named like u123456789_wp).
  4. Click the Export tab, choose “Quick” and “SQL” format, then click Go. This downloads a .sql file.

Step 2: Download Your Website Files

  1. In hPanel, open File Manager (or use an FTP client like FileZilla).
  2. Navigate to public_html (or the folder where WordPress is installed).
  3. Select all files and folders, right-click, and choose Compress to create a ZIP archive. Download it to your computer.

Step 3: Create a New Database on the Destination Account

  1. Log into the destination account (the one you’re moving to).
  2. Go to Databases → MySQL Databases.
  3. Create a new database and a user, and grant the user all privileges. Note the database name, username, and password – you’ll need them.
  4. Open phpMyAdmin for the new database, click Import, and upload the .sql file you downloaded earlier.

Step 4: Upload Your Files

  1. In the destination account’s File Manager, go to public_html (make sure it’s empty).
  2. Upload the ZIP archive and extract it. If you use FTP, simply upload the files directly.

Step 5: Update wp-config.php

  1. In the destination account’s File Manager, open the wp-config.php file.
  2. Update the following lines with the new database details:
    define('DB_NAME', 'new_database_name');
    define('DB_USER', 'new_database_user');
    define('DB_PASSWORD', 'new_database_password');
    define('DB_HOST', 'localhost'); // usually stays as localhost
  3. Save the file.

Step 6: Update the Site URL (if the domain changes)

If you’re moving to a new domain, you’ll need to update the site URL. The easiest way is to add these lines to wp-config.php temporarily:

define('WP_HOME', 'http://newdomain.com');
define('WP_SITEURL', 'http://newdomain.com');

After logging into wp-admin, go to Settings → General and update the URLs there, then remove those lines.

Step 7: Recreate Email Accounts (if needed)

If you use Hostinger email, go to the destination account’s Emails → Email Accounts and recreate each mailbox with the same name and password. Also set up any forwarders.

Step 8: Update DNS (if the domain is external)

If your domain is registered elsewhere, update its nameservers to point to Hostinger’s (you’ll find the correct nameservers in your destination account’s hPanel under “Domains”). If you’re using an A record, point it to the new server’s IP address. DNS changes can take up to 24 hours to propagate.

Step 9: Test Your Site

Before you finalize, visit your site on the new account. If you haven’t changed DNS yet, you can test by editing your computer’s hosts file to point the domain to the new server’s IP. Check that pages load, images appear, and you can log into wp-admin.

Step 10: Finalize

Once everything works, update your DNS (if not done), wait for propagation, and then cancel or leave the old account. Keep the backup for at least a week.

Common Problems and How to Avoid Them

Several issues can arise during a transfer. Here’s how to handle the most frequent ones:

  • Database connection errors – usually means wp-config.php has wrong credentials. Double-check the database name, user, and password.
  • Mixed content errors (images not loading) – if your site URL changed, use a plugin like “Better Search Replace” to update all URLs in the database from the old domain to the new one.
  • White screen of death – often caused by a PHP version mismatch. Ensure your destination account runs a compatible PHP version (check Hostinger’s requirements for your WordPress version).
  • Missing images or broken links – this happens if the uploads folder didn’t transfer completely. Re-upload the wp-content/uploads folder.
  • Login redirects back to old site – clear your browser cache and cookies, and ensure the site URL in the database is correct.

Costs and Alternatives

Transferring between Hostinger accounts is free – you’re just moving data you already own. The only cost is if you purchase a new hosting plan on the destination account. Hostinger often offers promotions for new plans, but be aware of renewal prices.

Alternatives to a manual transfer include:

  • Migration plugins – tools like All-in-One WP Migration or Duplicator can package your site into a single file, which you then import on the new account. This is often easier for beginners, but the free versions have file size limits.
  • Hostinger’s support – you can ask their live chat team to assist with the migration. They may do it for free if you’re on a higher plan, but it’s not guaranteed.
  • Using a staging environment – if you’re just testing a new plan, set up a staging copy first to avoid affecting the live site.

Frequently Asked Questions

Will my site be down during the transfer?

If you do a manual transfer while the old site is still live, there’s no downtime. The new site becomes active only when you switch DNS. If you use a migration plugin that requires you to put the site in maintenance mode, you may have a few minutes of downtime.

Can I transfer just the database, not the files?

Yes, but it’s not recommended unless you’re only moving content (like posts and pages) and don’t need the same theme/plugins. You’d export the database, import it to the new account, and then install WordPress fresh, pointing it to that database. You’d lose all your customizations.

What about my domain – does it move too?

No, the domain itself is separate from the hosting account. If your domain is registered with Hostinger, it stays in your domain portfolio. You just need to update the DNS to point to the new server. If the domain is registered elsewhere, you update the nameservers at your registrar.

How long does the transfer take?

Manual transfers typically take 1-2 hours if you’re comfortable with the steps. The file upload and database import are the time-consuming parts. DNS propagation can take up to 24 hours, but often happens within a few hours.

Do I need to change my WordPress login credentials after the move?

No, your user accounts are stored in the database, so they transfer over. You’ll still log in with the same username and password. However, it’s good practice to reset your password after a migration for security.

What if I have a staging site on the old account?

Staging sites are separate installations, so they won’t move automatically. You’ll need to repeat the transfer process for each staging site you want to keep. Alternatively, you can create a new staging site on the destination account and copy the content over.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.