Monday, 26 Oct 2026

Exclusive resources and tools for web design and development experts

Explore
BiblioWeb

Biblioweb.es

All About Web Technology

  • Start
  • WordPress
    WordPress
    • All about WordPress26
    • Plugins de WordPress16
    • Desarrollo web y plugins15
    Rendimiento y seguridad
    • Hosting y rendimiento8
    • Ciberseguridad web7
    • Solución de errores5
    Negocio e IA
    • IA y automatización10
    • WooCommerce y tiendas online6
    Lo último
    Restaurant Menu Widget — WordPress Plugin27 Sep 2026JetStudio Bookings — WordPress Plugin27 Sep 2026SC Heatmap — WordPress Plugin27 Sep 2026
    Ver el blog completoHistorial de noticiasAbout usNewsletter semanal
  • Plugins de WordPress
    Fichas de plugins
    • WP Translate Master
    • Cart Tool Kit
    • SC Heatmap
    • JetStudio Bookings
    • Restaurant Menu Widget
    • WP SEO Pro
    • Rank Math SEO in 2026
    • WP Rocket
    • WPCode
    • AI Engine para WordPress
    Comparativas y guías
    • The best SEO plugins for WordPress
    • The best AI plugins for WordPress
    • The best booking plugins for WordPress
    • WordPress multiidioma
    • Cómo crear un formulario de contacto en WordPress
    • Stripe o PayPal
    Por temática
    • Plugins de WordPress16
    • WooCommerce y tiendas online6
    • Desarrollo web y plugins15
    • IA y automatización10
    • Hosting y rendimiento8
    BibliotecaPlugin Library

    Los plugins de WordPress que desarrollamos: qué hace cada uno, cómo se ve en acción y dónde conseguirlo.

    Entrar en la Pluginteca
    Toda la categoría Plugins de WordPressHerramientas gratis
  • Tools
    Herramientas gratis, sin registro y desde el navegador
    Generador de contraseñasContraseñas largas y aleatorias sin salir del navegador.Generador de QRCódigos QR en PNG de alta resolución, sin caducidad.Contador de palabrasPalabras, caracteres y tiempo de lectura en vivo.JSON FormatterFormatea, valida y localiza el error exacto.WebP ConverterPNG, JPG y PDF a WebP para que la web cargue…PDF a WebPCada página del PDF, en una imagen ligera.Comprobador de emailsSintaxis, correos temporales y registros MX.Compresor de vídeoBaja el peso del vídeo sin subirlo a ningún servidor.Vídeo a MP3Extrae el audio de un vídeo en un par de clics.Firmas de emailFirma en HTML lista para Gmail y Outlook.
    También te sirveHerramientas externas que merecen la pena

    DNS Checker, Query Monitor, Local WP y el resto del kit que usamos a diario, con para qué sirve cada una.

    Ver la selección
    Todas las herramientasPlugin LibraryRecíbelas por correo
  • Plugin Library
  • Español
  • English ✓
  • 🇨🇳 中文(简体)
  • Français
  • Deutsch
  • Italiano
Newsletter
  • WordPress
  • Plugins de WordPress
  • WooCommerce
  • IA para WordPress
  • Security
  • Herramientas gratis
  • See everything
BiblioWebBiblioWeb
Font ResizerAa
  • WordPress
  • Plugins
  • WooCommerce
  • Errores
  • Tools
Search
  • Start
  • 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
  • Plugins de WordPress
    • Rank Math SEO
    • AI Engine
    • WP Rocket
    • WPCode
    • WP Translate Master
    • Cart Tool Kit
    • SC Heatmap
    • JetStudio Bookings
    • Restaurant Menu Widget
    • WP SEO Pro
  • Tools
    • Password Generator
    • QR Code Generator
    • Word Counter
    • JSON Formatter
    • Image to WebP Converter
    • Email Checker
    • Video Compressor for Web
    • Email Signature Generator
    • Video to MP3 Converter
    • PDF to WebP Converter
  • Plugin Library
  • Blog
    • Español
    • English ✓
    • 🇨🇳 中文(简体)
    • Français
    • Deutsch
    • Italiano
Síguenos
© 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á
Actualizado: 28/09/2026 12:43
By Adrián Alcalá
Share
14 min de lectura
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.

Índice
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

How to speed up WordPress with PHP settings in 3 steps
How to safely update PHP in WordPress
What hosting do you need for WordPress
The best cache plugins for WordPress

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 Copiar enlace Print
ByAdrián Alcalá
Síguele:
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
Ilustración del plugin Restaurant Menu Widget: carta de restaurante con platos y precios editables en Elementor
Restaurant Menu Widget — WordPress Plugin
WordPress Plugins
Ilustración del plugin JetStudio Bookings: formulario de citas por pasos con calendario y bandeja de solicitudes
JetStudio Bookings — WordPress Plugin
WordPress Plugins
Ilustración del plugin SC Heatmap: mapa de calor de clics y scroll sobre una web, con los datos en tu servidor
SC Heatmap — WordPress Plugin
WordPress Plugins
Accesibilidad web en WordPress con IA
Accesibilidad web en WordPress: auditarla con IA en una tarde
AI & Web Automation

También te puede interesar

Clean and optimize the WordPress database
Web Hosting & Performance

How to clean and optimize the WordPress database

08/08/2026
WPO in WordPress: guide to improve speed
Web Hosting & Performance

WPO in WordPress: complete guide to improve speed

28/09/2026
How to optimize images in WordPress including WebP
Web Hosting & Performance

How to optimize images in WordPress (WebP included)

28/09/2026
  • Temas:
  • WordPress
  • WordPress Plugins
  • Web Development and Plugins
  • AI & Web Automation
  • Web Hosting & Performance
  • Cybersecurity and Web Security
  • WooCommerce
  • Troubleshooting web errors
BiblioWeb

Biblioweb.es

Web Technology News

Information you can trust: practical web technology guides and solutions — WordPress, plugins, cybersecurity, hosting, performance, and error troubleshooting.

RSS

Enlaces de interés

  • About us
  • Contact
  • Free tools
  • Plugin Library

Recibe nuestras nuevas guías de WordPress en tu correo. Suscríbete a la newsletter.

Legal

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

Últimas novedades

Ilustración del plugin Restaurant Menu Widget: carta de restaurante con platos y precios editables en Elementor

Restaurant Menu Widget — WordPress Plugin

27/09/2026
Continue reading
Ilustración del plugin JetStudio Bookings: formulario de citas por pasos con calendario y bandeja de solicitudes

JetStudio Bookings — WordPress Plugin

27/09/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}
Accede a BiblioWeb
Usuario o correo electrónico
Contraseña

¿Has olvidado tu contraseña?