domingo, 30 Ago 2026

Exclusive resources and tools for web design and development experts

Explore
BiblioWeb

Biblioweb.es

All About Web Technology

  • Start
  • Categories
    • Web Development and Plugins
    • AI & Web Automation
    • Cybersecurity and Web Security
    • WordPress Plugins
    • Web error solution
    • Web Hosting & Performance
  • WordPress
    • All about WordPress
    • WordPress Plugins
    • Web Development and Plugins
    • AI and Web Automation
    • WooCommerce
    • Hosting and Web Performance
    • Cybersecurity and Web Security
    • Web Error Resolution
    • Online Stores and Funnels
  • About Plugins
    • Yoast SEO
    • WooCommerce
    • Rank Math SEO
    • AI Engine
    • WP Rocket
    • WPCode
    • WP Translate Master
    • CartBounty
    • WP SEO Pro
  • Tools
    • Password Generator
    • QR Code Generator
    • Word Counter
    • JSON Formatter
    • Compresor de Vídeo para Web
    • Generador de Firmas de Email
    • Image to WebP Converter
    • Email Checker
  • Plugins Library
  • Español
  • English ✓
  • 🇨🇳 中文(简体)
  • Français
  • Deutsch
  • Italiano
History
  • WordPress
  • WordPress plugins
  • Create website
  • WooCommerce
  • WordPress tricks
  • See everything
BiblioWebBiblioWeb
Font ResizerAa
  • News History
Search
  • Start
  • Categories
    • Web Development and Plugins
    • AI & Web Automation
    • Cybersecurity and Web Security
    • WordPress Plugins
    • WooCommerce
    • Web Hosting & Performance
    • Troubleshooting web errors
    • Online Stores & Sales Funnels
  • WordPress
    • All about WordPress
    • WordPress Plugins
    • Web Development and Plugins
    • AI and Web Automation
    • WooCommerce
    • Hosting and Web Performance
    • Cybersecurity and Web Security
    • Web Error Resolution
    • Online Stores and Funnels
  • About Plugins
    • Rank Math SEO
    • AI Engine
    • WP Rocket
    • WPCode
    • WP Translate Master
    • CartBounty
    • WP SEO Pro
  • Blog
    • Español
    • English ✓
    • 🇨🇳 中文(简体)
    • Français
    • Deutsch
    • Italiano
  • My account
    • News History
  • Tools
    • Password Generator
    • QR Code Generator
    • Word Counter
    • JSON Formatter
    • Image to WebP Converter
    • Email Checker
    • Compresor de Vídeo para Web
    • Generador de Firmas de Email
Have an existing account? Sign In
Follow Us
© 2026 BiblioWeb — All rights reserved.
Cover » Blog » How to migrate WordPress to another hosting without losing anything
Web Hosting & Performance

How to migrate WordPress to another hosting without losing anything

Adrián Alcalá
Last updated: 08/08/2026 21:10
By Adrián Alcalá
Share
14 Min Read
Migrate WordPress to another hosting without losing anything
SHARE

Sooner or later it's time to migrate WordPress: because the hosting has become too small, because support stops responding, because you find a better offer, or simply because the website has grown and needs a server to match. And it's normal for the process to inspire respect, because a poorly done migration can result in broken links, missing images, forms that don't send, or even a drop in search engine ranking. The reality, however, is that migrating a WordPress website is a mechanical and predictable process when the steps are followed in the correct order: copy files and database, recreate the website on the new server, adjust the configuration, privately verify that everything works, and only then, point the domain to the new hosting. In this guide, we cover the complete process, both with a plugin and manually, with the final checklist that separates an amateur migration from an impeccable one, without losing content or SEO along the way.

Contents
Before starting: preparation and decisionsMethod 1: migrate with a plugin (the recommended way)Method 2: manual migration, step by stepThe DNS change: the moment of truthWordPress Migration ChecklistTypical problems when migrating and their solutionFrequently Asked QuestionsConclusion

Before starting: preparation and decisions

A good migration is won before moving a single file. Dedicate a few minutes to these preparations:

  • Choose the destination well. If you are migrating due to performance or support issues, make sure the new provider truly solves them: check PHP resources, available versions, automatic backups, and real support. Our guide on what hosting you need for WordPress and the review of the 5 types of WordPress hosting will help you decide wisely.
  • Make a full backup (files + database) and save it outside the current server. It's your safety net if something goes wrong.
  • Gather credentials. Access to the old and new hosting panels, SFTP for both, and access to the domain manager (where DNS are changed, which can be the hosting itself or a separate registrar).
  • Lower your DNS TTL a day before if you can (for example, to 300 seconds). This way, subsequent propagation will be much faster.
  • Choose a low-traffic moment for the final change: in the early morning or on the weekend if your audience is national.

An important nuance: migrating hosting while keeping the same domain does not affect SEO if done correctly, because the URLs do not change. Google doesn't even notice, beyond (hopefully) noticing that the website is faster.

Method 1: migrate with a plugin (the recommended way)

For most websites, a migration plugin is the fastest way with the least margin for error. The two most reliable:

  • Duplicator. Packages the complete website (files + database) into a compressed file along with a PHP installer. It's the classic migration method.
  • All-in-One WP Migration. Export everything to a single file .wpress which you then import into a clean installation. Extremely simple, although the free version limits the size of the file to import.

Step-by-step migration with Duplicator

  1. On the old website: install Duplicator, create a new package, and download the two files it generates: the ZIP with the website and the installer.php.
  2. On the new hosting: create an empty database from the panel (note down name, user, and password) and upload the two files via SFTP to the domain's root folder.
  3. Run the installer by visiting http://tu-ip-o-dominio-temporal/installer.php. Most hostings offer a provisional URL or a preview to work with before changing the DNS.
  4. Enter the database details new when the wizard asks for them. Duplicator unzips the files, imports the database, and rewrites the URLs if the path has changed.
  5. Log in to the dashboard with your usual credentials and check that the website looks and works correctly.
  6. Delete the installer files (the plugin itself offers a button to do so). Leaving an installer.php accessible is a serious security hole.

Method 2: manual migration, step by step

Manual migration is the universal plan B: it works with huge websites that exhaust plugin limits, with half-broken installations, and with restrictive hostings. Furthermore, understanding the process gives you total control.

Step 1: copy the files

Connect via SFTP to the old hosting and download the complete installation folder (recognizable by wp-admin, wp-content y wp-includes). Then upload it to the root folder of the new hosting.

You Might Also Like

Cómo optimizar imágenes en WordPress (WebP incluido)
What hosting do you need for WordPress
Cómo limpiar y optimizar la base de datos de WordPress
WPO en WordPress: guía completa para mejorar la velocidad

Step 2: export and import the database

In phpMyAdmin of the old hosting, select the database and use Export in SQL format. On the new hosting, create an empty database with its user, open it in phpMyAdmin and use Import with the downloaded file.

Step 3: adjust wp-config.php

Edit the wp-config.php that you uploaded to the new server and update the credentials to point to the new database:

define( 'DB_NAME', 'nombre_bd_nueva' );
define( 'DB_USER', 'usuario_bd_nueva' );
define( 'DB_PASSWORD', 'contraseña_bd_nueva' );
define( 'DB_HOST', 'localhost' ); // o el host que indique tu hosting

Step 4: review URLs if the domain changes

If you keep the same domain, there's nothing to touch. If the website changes domain or moves from a subdirectory to the root, the old URL must be replaced with the new one in the database. The safe way to do this is with WP-CLI, which also updates serialized data:

wp search-replace 'https://dominio-antiguo.es' 'https://dominio-nuevo.es' --all-tables

Avoid direct SQL replacement on serialized data: it can corrupt theme and plugin options. If you don't have WP-CLI, plugins like Better Search Replace do the same job from the dashboard.

The DNS change: the moment of truth

With the website already working on the new server (verified by the provisional URL), the last step arrives: pointing the domain to the new hosting. You have two options depending on your case:

  • Change the nameservers (NS) of the domain to those of the new provider. This is common when the new hosting will also manage the DNS.
  • Change only the A record of the domain to point to the new server's IP, maintaining the current DNS manager. More surgical and faster propagation.

Propagation can take from minutes to 24-48 hours, although with a previously lowered TTL, it's usually a matter of an hour. During that period, part of the traffic will reach the old server and part the new: that's why it's advisable to keep the old hosting active for at least a week, with the website intact, until confirming that everyone is already seeing the new one. Do not cancel the old contract on the same day of the migration.

Also remember the SSL certificate: issue a new one on the destination hosting (almost all offer free Let's Encrypt with one click) as soon as the domain points there, or activate it beforehand if your provider allows it. A website that migrates and loses HTTPS generates security warnings in the browser and a drop in visits.

WordPress Migration Checklist

The migration doesn't end when the homepage loads. Review this list on the new server:

  1. General navigation: homepage, old posts, pages, categories, and internal search engine.
  2. Images and media: open the media library and several posts with images; if they are missing, the folder uploads was not copied completely.
  3. Permalinks: go to Settings → Permalinks and click Save Changes to regenerate the rewrite rules.
  4. Forms: send a test from each form and confirm that the email arrives. Email is what suffers most when changing servers; if it doesn't arrive, configure SMTP.
  5. Private area and purchases: if there's WooCommerce or memberships, place a test order and a customer login.
  6. SSL certificate: check the padlock in the browser and that http and www versions redirect to the canonical URL.
  7. PHP version: take advantage of the launch to work with a modern version; in addition to security, you'll gain speed, as we explain in the guide for speed up WordPress with PHP settings.
  8. Scheduled tasks and backups: reconfigure the backup plugin and verify that WP-Cron events are running.
  9. Search Console and Analytics: you don't need to touch anything if the domain doesn't change, but monitor coverage in the following days for any crawling errors.

Typical problems when migrating and their solution

Symptom Probable cause Solution
Database connection error Incorrect credentials in wp-config.php Check DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST with the new hosting's data
Homepage fine, rest of pages 404 Rewrite rules not regenerated Save permalinks again; check that .htaccess exists
Broken images Incomplete uploads folder or URLs not replaced Re-upload wp-content/uploads; run search-replace if the domain changed
Redirect loop Mixed http/https or inconsistent site URLs Unify siteurl and home with https and review the hosting's SSL configuration
White screen or 500 error Incompatible PHP version or memory limits Adjust the PHP version in the panel and check the error log
The old website still appears DNS propagation in progress or cache Wait, clear local cache and check the IP the domain resolves to

If after the transfer you decide to start a new installation from scratch on the new server, we have a definitive guide to installing WordPress that covers all possible avenues.

Frequently Asked Questions

How long does it take to migrate WordPress to another hosting?

A small or medium website can be migrated in one or two hours of effective work with a plugin, plus DNS propagation time (minutes to 48 hours). Very large websites, with many GB of media, may require several hours just for file transfer.

Is SEO lost when migrating WordPress?

No, if you keep the same domain and the same URLs: for Google, the website simply changes IP, which is completely normal. There is only a risk if you change the domain or URL structure, in which case you will need well-planned 301 redirects.

Can I migrate WordPress without downtime?

Practically yes. Since you set up and verify the website on the new server before touching the DNS, both copies coexist during propagation, and visitors always see a functional website. Only on websites with very dynamic content (stores, forums) is it advisable to freeze changes during the propagation window to avoid losing orders or comments on the old server.

Should I migrate it myself or ask the new hosting to do it?

Many providers offer free migration when you sign up, and it's usually a good option: they know their platform and take responsibility. Even so, make your own complete backup before handing them the keys, and run the final checklist yourself.

Conclusion

Migrating WordPress stops being scary when you understand the logic of the process: the new website is built and tested in parallel, and the domain is only pointed to the new server when everything is verified. With this sequence, the margin for disaster is minimal, and you always keep the old hosting as a safety net. Choose the method according to your case (plugin for most, manual for large websites or special situations), don't skip the prior backup or the subsequent checklist, and keep the old hosting alive for a few days. A well-executed migration not only loses nothing: it's usually the best time to debut modern PHP, renewed SSL, and a server that finally supports the project.

Share This Article
Email Copy Link Print
ByAdrián Alcalá
Follow:
Adrián Alcalá es desarrollador WordPress y consultor SEO, autor del plugin WP Translate y creador de BiblioWeb. Desde aquí comparte guías, tutoriales y herramientas gratuitas para quienes crean, optimizan y posicionan páginas web. Lleva años ayudando a negocios de toda España a sacar el máximo partido a WordPress, y todo lo que publica está probado en proyectos reales.
Previous Article WordPress backup: complete guide How to make a WordPress backup
Next Article Error 500 in WordPress: causes and solutions 500 Error in WordPress: what it is and how to fix it
como instalar wordpress - ¡Tu primera web en marcha! 🎉 Cómo instalar WordPress sin estrés y con la confianza de un experto (
¡Tu primera web en marcha! 🎉 Cómo instalar WordPress sin estrés y con la confianza de un experto (¡Te lo ponemos fácil!).
WordPress
como instalar wordpress - ¿Quieres saber cómo instalar WordPress como un PRO? 🚀 Guía definitiva para elegir el hosting perfe
¿Quieres saber cómo instalar WordPress como un PRO? 🚀 Guía definitiva para elegir el hosting perfecto (¡y que tu web vuele!)
WordPress
Best resources to learn WordPress
Los mejores recursos para aprender WordPress en español
WordPress
como instalar wordpress - ¡Adiós al miedo! Cómo instalar WordPress en tu propio servidor local (¡Perfecto para experimentar s
¡Adiós al miedo! Cómo instalar WordPress en tu propio servidor local (¡Perfecto para experimentar sin riesgos y crear tu #CrearPaginaWeb!)
WordPress
Advertisement

You May Also Like

The best cache plugins for WordPress
Web Hosting & Performance

The best cache plugins for WordPress

08/08/2026
  • More News:
  • WordPress
  • Install
  • Guide
  • Create Web Page
  • how to install WordPress
  • Create
  • installation
  • future
  • Discover
  • Yoast
  • Plugins
  • tricks
  • WordPress installation
  • Goodbye
  • Runways
  • page
  • Create webpage
  • truco
  • Error
  • Construcción
BiblioWeb

Biblioweb.es

Web Technology News

Information you can trust: guías y soluciones prácticas de tecnología web — WordPress, plugins, ciberseguridad, hosting, rendimiento y solución de errores.

RSS

Enlaces de interés

  • About us
  • Contact
  • Free tools
  • Plugin Library

Subscribe now to receive real-time updates on the latest news!

Legal

  • Legal Notice
  • Terms and Conditions
  • Cookies Policy
  • Privacy Policy

Latest news

como instalar wordpress - ¡Tu primera web en marcha! 🎉 Cómo instalar WordPress sin estrés y con la confianza de un experto (

¡Tu primera web en marcha! 🎉 Cómo instalar WordPress sin estrés y con la confianza de un experto (¡Te lo ponemos fácil!).

25/08/2026
Continue reading
como instalar wordpress - ¿Quieres saber cómo instalar WordPress como un PRO? 🚀 Guía definitiva para elegir el hosting perfe

¿Quieres saber cómo instalar WordPress como un PRO? 🚀 Guía definitiva para elegir el hosting perfecto (¡y que tu web vuele!)

24/08/2026
Continue reading

© 2026 BiblioWeb — All rights reserved.

Gestionar consentimiento
Utilizamos tecnologías como las cookies para almacenar y/o acceder a la información del dispositivo. Lo hacemos para mejorar la experiencia de navegación y para mostrar anuncios (no) personalizados. El consentimiento a estas tecnologías nos permitirá procesar datos como el comportamiento de navegación o los ID's únicos en este sitio. No consentir o retirar el consentimiento, puede afectar negativamente a ciertas características y funciones.
Funcional Always active
El almacenamiento o acceso técnico es estrictamente necesario para el propósito legítimo de permitir el uso de un servicio específico explícitamente solicitado por el abonado o usuario, o con el único propósito de llevar a cabo la transmisión de una comunicación a través de una red de comunicaciones electrónicas.
Preferences
El almacenamiento o acceso técnico es necesario para la finalidad legítima de almacenar preferencias no solicitadas por el abonado o usuario.
Estadísticas
El almacenamiento o acceso técnico que es utilizado exclusivamente con fines estadísticos. El almacenamiento o acceso técnico que se utiliza exclusivamente con fines estadísticos anónimos. Sin un requerimiento, el cumplimiento voluntario por parte de tu proveedor de servicios de Internet, o los registros adicionales de un tercero, la información almacenada o recuperada sólo para este propósito no se puede utilizar para identificarte.
Marketing
El almacenamiento o acceso técnico es necesario para crear perfiles de usuario para enviar publicidad, o para rastrear al usuario en una web o en varias web con fines de marketing similares.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Ver preferencias
  • {title}
  • {title}
  • {title}
Welcome to Foxiz
Username or Email Address
Password

Lost your password?