Cómo MIGRAR tu sitio web WordPress de SiteGround a Hostinger

3 min read 2 days ago
Published on Mar 30, 2025 This response is partially generated with the help of AI. It may contain inaccuracies.

Introduction

Migrating your WordPress website from SiteGround to Hostinger can seem daunting, but with the right steps, it can be a smooth process. This tutorial provides detailed instructions to help you transfer your website and domain efficiently, ensuring minimal downtime and data loss.

Step 1: Prepare for Migration

Before starting the migration process, ensure you have everything ready.

  • Backup Your Website: Use a plugin like UpdraftPlus to create a complete backup of your WordPress site. This includes your database, themes, plugins, and media files.
  • Choose Your Hostinger Plan: Review Hostinger's hosting plans and select one that fits your needs.
  • Sign Up for Hostinger: Create an account and set up your hosting plan.

Step 2: Export Your WordPress Database

You need to transfer your website's database to Hostinger.

  • Access phpMyAdmin in SiteGround
    • Log into your SiteGround account.
    • Navigate to the Site Tools of your website.
    • Click on "Site" and select "phpMyAdmin."

  • Export the Database
    • Select your WordPress database from the left sidebar.
    • Click on the "Export" tab.
    • Choose the "Quick" export method and format as "SQL."
    • Click "Go" to download the database file to your computer.

Step 3: Upload Your Files to Hostinger

Now you need to transfer your WordPress files.

  • Access Hostinger's File Manager
    • Log into your Hostinger account and go to the control panel.
    • Navigate to the "File Manager."

  • Upload Your Website Files
    • Open the public_html directory.
    • Upload your WordPress files (themes, plugins, uploads) from your backup to this folder.

Step 4: Import Your Database to Hostinger

After uploading your files, import the database you exported.

  • Access phpMyAdmin in Hostinger
    • Go to the Hostinger control panel and select "phpMyAdmin."

  • Create a New Database
    • Click on "Databases" in the sidebar.
    • Create a new database and user, and assign the user to the database with all privileges.

  • Import the SQL File
    • Select the new database.
    • Click on the "Import" tab.
    • Choose the SQL file you exported earlier and click "Go."

Step 5: Update the wp-config.php File

You need to connect your WordPress files to the new database.

  • Edit wp-config.php
    • In the Hostinger File Manager, locate the wp-config.php file in your WordPress directory.
    • Update the following lines with your new database details:
      define('DB_NAME', 'your_new_database_name');
      define('DB_USER', 'your_new_database_user');
      define('DB_PASSWORD', 'your_new_database_password');
      define('DB_HOST', 'localhost'); // Usually 'localhost'
      
  • Save Changes: After updating, save the file.

Step 6: Point Your Domain to Hostinger

Finally, you need to update your domain settings.

  • Change Nameservers
    • Log into your domain registrar account (where you bought your domain).
    • Replace the current nameservers with Hostinger's nameservers.
    • Hostinger’s nameservers can be found in your control panel under the domain section.

Conclusion

You have successfully migrated your WordPress website from SiteGround to Hostinger. Remember to check your website for any issues after the migration, such as broken links or missing images. If everything looks good, consider configuring additional features offered by Hostinger, such as SSL certificates and performance optimizations. Happy blogging!