How to Move WordPress Blog to New Domain or Location Cómo pasar a WordPress blog nuevo dominio o ubicación

For blogger who self-hosts the WordPress blog publishing system on a web hosting server with own registered domain name, sometimes, you may decide to reorganize the blog link URL to make it tidier or to reflect new focus or theme of the blog. Por blogger que auto-organizadora de la publicación de blogs WordPress en un sistema de alojamiento web con servidor propio nombre de dominio registrado, a veces, usted puede decidir reorganizar el blog URL del vínculo para que sea tidier o para reflejar nuevo enfoque o tema del blog. If you decide to change the URL or link location of your WordPress blog due to changing of domain name (such as from http://www.old-domain.com/ to http://www.new-domain.com/) or the blog to another directory location (such as from http://www.domain.com/ to http://www.domain.com/blog/), there are some steps that should be done to ensure the proper migration and no breaking links. Si usted decide cambiar la URL o ubicación del enlace de su blog de WordPress debido al cambio de nombre de dominio (como el de http://www.old-domain.com/ a http://www.new-domain.com/) o el blog a otra ubicación del directorio (como el de http://www.domain.com/ a http://www.domain.com/blog/), hay algunos pasos que debe hacerse para garantizar el correcto y migración no romper los vínculos.

The tricky part when moving WordPress blog to another location is that WordPress is using absolute path in URL link instead of relative path in URL link location when stores some parameters in database. La parte difícil cuando se desplazan blog de WordPress a otro lugar es que WordPress está utilizando ruta absoluta en el enlace URL en lugar de ruta relativa a ubicación del enlace URL tiendas cuando algunos parámetros en la base de datos. Within blog posts’ contents itself, users may also use the old URLs when creating reference backlinks. Dentro de las entradas del blog 'propio contenido, los usuarios también podrán utilizar el antiguo URL de referencia durante la creación de vínculos de retroceso. All these values in the database will need to be changed when WordPress is moved. Todos estos valores en la base de datos tendrá que ser cambiado cuando se traslada WordPress. The following guide will show you which database fields that has references or values related to blog’s URLs that you want to modify. La siguiente guía le mostrará que la base de datos los campos que tiene referencias o valores relacionados con la URL del blog que quieres modificar. Note that this guide is not about how to move WordPress blog from one server or host to another new hosting service. Tenga en cuenta que esta guía no tiene que ver con la manera de avanzar WordPress blog de un servidor o host a otro nuevo servicio de alojamiento.

Once the blog has been moved (all files copy over in case of moving location or server or new domain name properly propagated across Internet for new domain name), the first thing to change is to tell WordPress the new blog location (wp-config.php should be no changes, and .htaccess file should be also no changes. If for some reason mod_rewrite rules for friendly URLs no longer works, you can always regenerate the .htaccess file via WP Administration’s Update Permalinks page). Una vez que el blog se ha movido (copiar todos los archivos más en el caso del traslado de ubicación o servidor o el nuevo nombre de dominio debidamente propagadas a través de Internet para los nuevos nombres de dominio), lo primero que hay que cambiar es decir a WordPress la nueva ubicación blog (wp-config. php debe haber cambios, y. htaccess archivo debe ser también sin cambios. Si por alguna razón mod_rewrite normas de amistad URL ya no funciona, siempre se puede regenerar el. htaccess archivo a través de la Administración de WP Actualizar Permalinks página). This value can be changed via WordPress Options page, but if you no longer able to access to old blog URL, you have to modify the value via MySQL database. Este valor se puede cambiar a través de la página Opciones de WordPress, pero si ya no poder acceder a viejo blog URL, usted tiene que modificar el valor a través de base de datos MySQL.

Note: The guide uses SQL statements based on Nota: La guía utiliza comandos SQL sobre la base de MySQL replace() function MySQL sustituir () to modify the database. para modificar la base de datos. To run SQL queries, login to MySQL database that houses WordPress tables via phpMyAdmin or login to the DB server and run MySQL client as root. Para ejecutar consultas SQL, acceso a base de datos MySQL que alberga los cuadros de WordPress a través de phpMyAdmin o de acceso a la base de datos de servidor y cliente de MySQL ejecutar como root.

To update WordPress options with the new blog location, use the following SQL command: Para actualizar las opciones de WordPress con el nuevo blog ubicación, utilice el siguiente comando SQL:

UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_options SET option_value = sustituir (option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' O option_name = 'siteurl';

After that you will need to fix URLs of the WordPress posts and pages, which translated from post slug, and stored in database wp_posts table as guid field. Después de que usted tendrá que fijar la URL de puestos de WordPress y páginas, que traducido del puesto de babosas, y se almacena en la base de datos wp_posts tabla como guía de campo. The URL values in this field are stored as absolute URLs instead of relative URLs, so it needs to be changed with the following SQL query: La URL valores en este campo se almacenan como absoluta URL en lugar de URL relativas, por lo que hay que cambiar con la siguiente consulta SQL:

UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com'); UPDATE wp_posts SET guía = sustituir (guía, 'http://www.old-domain.com', 'http://www.new-domain.com');

If you have linked internally within blog posts or pages with absolute URLs, these links will point to wrong locations after you move the blog location. Si ha vinculado internamente dentro de las entradas del blog o páginas con URLs absolutas, estos enlaces punto a lugares mal después de pasar el blog ubicación. Use the following SQL commands to fix all internal links to own blog in all WordPress posts and pages: Use los siguientes comandos SQL para arreglar todos los enlaces internos a propio blog de WordPress en todos los puestos y las páginas:

UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com'); UPDATE wp_posts SET post_content = sustituir (post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');

Browse through WordPress blog to check if everything is okay. Navegar a través del blog de WordPress, para comprobar si todo está bien. You also need to re-login to WP Administration as authentication cookie has now became invalid due to different domain. También es necesario volver a acceder a WP Administración de cookies de autenticación como se ha convirtió en inválido debido a diferentes dominios.

IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. IMPORTANTE: Usted está leyendo una máquina página traducida que se proporciona "tal cual" sin garantía. Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible. A diferencia de humanos traducción, traducción automática no entiende la gramática, semántica, sintaxis, modismos del lenguaje natural, por lo tanto, producen a menudo inexactos y de baja calidad texto que es engañosa e incomprensible. Thus, please refer to Por lo tanto, por favor, consulte original English article artículo original Inglés whenever possible. siempre que sea posible.

MDL blog postings now continue at MDL blog postings continuará ahora en Tip and Trick Sugerencia y Trick , and readers are welcome to join , Y los lectores son bienvenidos a unirse My Digital Life Forums Mi vida digital Foros .


21 Responses to “How to Move WordPress Blog to New Domain or Location” 21 Respuestas a "Cómo Mover WordPress Blog a Nueva dominio o Ubicación"

  1. SEO Rob Rob SEO
    January 11th, 2008 04:48 Enero 11, 2008 04:48
    1

    What’s wrong with using the builtin Export-Import functions and then just install a plugin to redirect the URLs? ¿Cuál es el problema con el uso de las incorporado Export-Import funciones y, a continuación, sólo instalar un plugin para redirigir la URL?

    http://rmarsh.com/2006/09/23/moving-your-blog/

  2. Jon-o Addleman Jon-o Addleman
    January 14th, 2008 04:45 14 de enero de 2008 04:45
    2

    Thanks so much for this! Muchas gracias por esto! I can’t believe this info isn’t on No puedo creer esta información no está en http://codex.wordpress.org/Moving_WordPress already! ya! I’ve been suffering through all sorts of 404’s ever since following those instructions! He venido sufriendo todo tipo a través de 404 desde la ajustarse a dichas instrucciones!

  3. Technomestique » Blog Archive » Déménager son blog WordPress… Technomestique »Blog Archive» Déménager hijo blog de WordPress…
    January 16th, 2008 01:20 16 de enero de 2008 01:20
    3

    [...] article en anglais chez MyDigitalLife explique également comment déplacer son blog WordPress. [...] Artículo en espagnol chez MyDigitalLife explique également comentario déplacer hijo blog de WordPress. C’est une méthode très proche de [...] C'est une Méthode très proche de [...]

  4. Kevin
    January 22nd, 2008 07:24 22 de enero de 2008 07:24
    4

    THANKS!!! ¡GRACIAS! I thought I screwed things up royally by trying to organize my domain (and my life). Pensé que las cosas un poco jodidos por royally tratando de organizar mi dominio (y mi vida). This saved me. Esto me salvó.

    Cheers ¡Salud!

  5. » Welcome! »¡Bienvenidos! Here we go! Aquí vamos! Alex Luft: Just another WordPress weblog Alex Luft: Apenas otro weblog de WordPress
    February 8th, 2008 12:13 8 de febrero de 2008 12:13
    5

    [...] is to follow these instructions. [...] Es seguir estas instrucciones. I did. Yo lo hice. Result? Resultados? All images became broken after the move. Todas las imágenes se convirtió roto después del traslado. I followed these instructions to fix them in my SQL database. He seguido estas instrucciones para corregirlos en mi base de datos SQL. No [...] No [...]

  6. » And we're back! »Y estamos de vuelta! TechNest: The TechNest — The personal blog of Alex Luft TechNest: El TechNest - El blog personal de Alex Luft
    February 9th, 2008 10:14 9 de febrero de 2008 10:14
    6

    [...] is to follow these instructions. [...] Es seguir estas instrucciones. I did. Yo lo hice. Result? Resultados? All images became broken after the move. Todas las imágenes se convirtió roto después del traslado. I followed these instructions to fix them in my SQL database. He seguido estas instrucciones para corregirlos en mi base de datos SQL. No luck. No hay suerte. The results from the SQL queries stated that [...] Los resultados de las consultas SQL declaró que [...]

  7. Rob Schultz Rob Schultz
    February 19th, 2008 05:59 19 de Febrero, 2008 05:59
    7

    Thank you so much for the above instructions. Muchas gracias por seguir las instrucciones. You just saved me a lot of time! Usted me acaba de guardar un montón de tiempo! Much appreciated. Muy apreciada.

  8. Samuel
    February 24th, 2008 00:23 24 de febrero de 2008 00:23
    8

    hey, i followed these instructions, but wordpress now just wont display anything. hey, i seguido estas instrucciones, pero ahora sólo wordpress costumbre mostrar nada. i get a white page when opening index.php… anyway, i can display single pages with example i obtener una página en blanco al abrir index.php… de todos modos, i solo puede mostrar las páginas con el ejemplo http://url.com/wordpress/?p=123

    strange is that i won’t find any php errors, httpd errors or anything alike. extraño es que no voy a encontrar ninguna php errores, errores de httpd o algo igual. any suggestions? alguna sugerencia?

    samuel Samuel

  9. Steve Leung Steve Leung
    March 9th, 2008 15:54 9 de marzo de 2008 15:54
    9

    These SQL statements made my day a lot easier. Estas declaraciones SQL mi día un poco más fácil. Thanks! Gracias!

  10. The Ud La Ud
    March 14th, 2008 13:00 14 de marzo de 2008 13:00
    10

    You rock and fixed my site. Usted roca y mi sitio fijo. Gracias.

  11. Samuel
    March 14th, 2008 15:40 14 de marzo de 2008 15:40
    11

    i disabled all plugins, and the site worked again. i discapacitados todos los plugins, y el sitio trabajó de nuevo. maybe this helps. tal vez esta ayuda. bye adiós

  12. Kevin Inscoe - The Morning Report » Blog Archive » Renaming your Wordpress 2.x blog to another domain name Kevin Inscoe - El Informe de la mañana »Blog Archive» Cambiar el nombre de tu blog Wordpress 2.x a otro nombre de dominio
    March 18th, 2008 00:39 18 de marzo de 2008 00:39
    12

    [...] to mydigitallife for the hints on how to do [...] [...] Mydigitallife para los consejos sobre cómo llevar a cabo [...]

  13. Luís Reis Luís Reis
    March 27th, 2008 11:59 27 de marzo de 2008 11:59
    13

    To fix images path after moving wordpress to another domain or directory you need to update wp_postmeta and wp_posts so that every link related to posts link to the new wp_content location. Para arreglar las imágenes en movimiento camino después de wordpress a otro dominio o directorio que usted necesita para actualizar wp_postmeta y wp_posts a fin de que cada uno de los eslabones relacionados con puestos de enlace para la nueva ubicación wp_content. We need to do a find and replace in some tables of the database. Tenemos que hacer un buscar y reemplazar en algunas tablas de la base de datos. Using phpMyAdmin You could use the following SQL code to search and replace de links. El uso de phpMyAdmin Se podría utilizar el siguiente código SQL para buscar y reemplazar de enlaces.

    UPDATE tablename SET tablefield = replace(tablefield,”findstring”,”replacestring”); UPDATE tablename SET tablefield = sustituir (tablefield, "findstring", "replacestring");

    One example would be: Un ejemplo sería el siguiente:

    UPDATE wp_postmeta SET meta_value = replace(meta_value,”http://somedomain.com”,”http://somedomain.com/newdir”); UPDATE wp_postmeta SET meta_value = sustituir (meta_value, "http://somedomain.com", "http://somedomain.com/newdir");

    UPDATE wp_postmeta SET meta_value = replace(meta_value,”http://somedomain.com”,”http://somedomain.com/newdir”); UPDATE wp_postmeta SET meta_value = sustituir (meta_value, "http://somedomain.com", "http://somedomain.com/newdir");

    or the other way round depending on your case… (this was mine - changed to account root) o al revés dependiendo de su caso… (esto es mío - cambiado a la cuenta root)

    UPDATE wp_postmeta SET meta_value = replace(meta_value,”http://somedomain.com/newdir”,”http://somedomain.com”); UPDATE wp_postmeta SET meta_value = sustituir (meta_value, "http://somedomain.com/newdir", "http://somedomain.com");

    Note: You can use similar expressions to change links for “wp_posts” table, in this case the field to change is “guid”. Nota: Puede utilizar expresiones similares a cambiar los enlaces para "wp_posts" tabla, en este caso sobre el terreno para el cambio es "guía".

    Note: In my case I had to Update Permalinks in Wordpress Admin->Options->Permalinks to update global linking. Nota: En mi caso tuve que Actualizar Permalinks en Wordpress Admin-> Opciones-> Permalinks para actualizar enlace mundial.

    IMPORTANT: Before changing any table fields look carefully at the field values of the tables in the database so you can decide what values to change. IMPORTANTE: Antes de cambiar cualquier mesa de examinar cuidadosamente los campos en los valores de campo de las tablas en la base de datos para que usted pueda decidir qué valores para el cambio.

    This solved my migration of wordpress because after changing files to the server account root directory everything was pointing to the old URL. Esta resuelto mi migración de wordpress, porque después de cambiar los archivos al servidor de directorio raíz en cuenta todo estaba apuntando a la antigua dirección URL.

    Hope to help, I know what you guys are going through! Esperanza para ayudar, sé lo que ustedes están pasando! I had this problem a few days ago. Tuve este problema hace unos días.

    Sorry if my English let You down but I’m just a poor Computer Engeneering Student from Portugal Lo siento si mi Inglés le permiten abajo pero soy sólo un pobre Estudiante de Ingeniería en Computación de Portugal :), Have a nice life! Tiene una bonita vida! Peace! Paz!

  14. Luís Reis Luís Reis
    March 27th, 2008 12:37 27 de marzo de 2008 12:37
    14

    Hey again! Hola de nuevo! Forgot to mention that I also had to change links to images inside post content! ¿Se olvidó de mencionar que también he tenido que cambiar los enlaces a las imágenes dentro de publicar contenido!
    Like this: Al igual que esta:

    UPDATE wp_posts SET post_content = replace(post_content,”http://somedomain.com/newdir”,”http://somedomain.com/”); UPDATE wp_posts SET post_content = sustituir (post_content, "http://somedomain.com/newdir", "http://somedomain.com/");

    The method is always the same, find the old link in the table fields and replace by the new one. El método es siempre el mismo, encontrar el vínculo de edad en la tabla campos y sustituir por el nuevo.

    Bye!:)

  15. soul alma
    March 31st, 2008 13:53 31 de marzo de 2008 13:53
    15

    this occured to me after moving from one webhost to another. esto se me ocurrió después de pasar de un webhost a otro. i couldnt login as admin. i podría iniciar la sesión como administrador.

    tried alot of the cheap fixes but the cheapest of all worked: intentado un montón de parches de la barata pero la más barata de todos los trabajado:

    http://www.village-idiot.org/archives/2007/05/22/wp-emergency-password-recovery/

    be sure to delete emergency.php after yer done! asegúrese de eliminar emergency.php después yer hecho!

  16. wassup
    April 1st, 2008 03:21 1 de abril de 2008 03:21
    16

    Thanks for this article. Gracias por este artículo.

  17. G G,
    April 28th, 2008 01:15 28 de abril de 2008 01:15
    17

    A really great help after moving my wp-installation. Una gran ayuda realmente en movimiento después de mi wp-instalación. Made my day Made mi día :), Thanks Gracias

  18. Philippine Website Developers Filipinas desarrolladores de sitios web
    May 1st, 2008 17:16 1 de Mayo, 2008 17:16
    18

    Thanks for sharing how to move WordPress blog to new domain or location. Gracias por hacernos partícipes de cómo mover a WordPress blog nuevo dominio o ubicación.

  19. Changer le nom de domaine d’un blog sous wordpress Changer le nom de domaine d'un blog sous wordpress
    May 5th, 2008 20:26 Mayo 5, 2008 20:26
    19

    [...] 1- Backup des données sur le serveur web 2- Backup de la base de données de l’ancien domaine (design.2803) 3- Création du dossier blogdecodesign.fr sur le serveur et de blogdecodesign.com avec une redirection 301 en htaccess vers le .fr 4- Upload de tout le dossier de l’ancien domaine vers le nouveau dossier (blogdecodesign.fr) 5- Création d’une nouvelle base de données 6- Upload de la base de données téléchargée au point 2 dans la nouvelle base de données 7- Exécution des lignes de commandes suivantes pour mettre à jour la base de données (source my digital life): [...] [...] 1 - Backup des données sur le serveur web 2 - Copia de seguridad de la base de données de l'ancien domaine (design.2803) 3 - Création du dossier blogdecodesign.fr sur le serveur et de blogdecodesign.com avec une redirección 301 en vers le htaccess. fr 4 - Carga de tout le dossier de l'ancien domaine vers le nouveau expediente (blogdecodesign.fr) 5 - Création d'une nouvelle base de données 6 - Carga de la base de données au téléchargée punto 2 dans la nouvelle base de données 7 - Exécution des lignes de commandes suivantes pour mettre à jour la base de données (mi fuente de vida digital): [...]

  20. housespeed
    May 10th, 2008 05:41 10 de Mayo, 2008 05:41
    20

    they had the wild playing still there. que habían estado salvaje juego sigue ahí. work visit little done it. visita poco trabajo hecho. let it go. dejar ir. reminded damage the forests recordó a los daños de los bosques

  21. radyo hosting RaDYo hosting
    May 16th, 2008 18:08 16 de mayo de 2008 18:08
    21

    thanks for sharing this howto gracias por compartir este howto

Leave a Reply Deja Responder

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Puede usar estos tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Suscribirse sin comentar



Incoming Search Terms for the Article Próximos Términos de búsqueda para el artículo

move wordpress mover WordPress - -- moving wordpress WordPress en movimiento - -- migrating wordpress la migración de WordPress - -- moving wordpress blog blog de WordPress en movimiento - -- wordpress change domain WordPress cambio de dominio - -- how to move wordpress cómo mover WordPress - -- move wordpress to new server WordPress pasar a nuevo servidor - -- move wordpress blog mover blog de WordPress - -- move wordpress database mover la base de datos de WordPress - -- how to move blog to new domain cómo mover a blog nuevo dominio - -- moving wordpress to a new domain wordpress se desplazan a un nuevo dominio - -- move wordpress new domain WordPress moverse nuevo dominio - -- wordpress move domain WordPress mover dominio - -- move wordpress to new domain WordPress pasar a dominio nuevo - -- moving wordpress to a new host wordpress se desplazan a un nuevo huésped - -- import sql to new host using new domain sql importación de acogida a los nuevos que utilizan las nuevas dominio - -- wordpress blog WordPress blog - -- inurl: /emergency.php inurl: / emergency.php - -- move wordpress to other server WordPress pasar a otro servidor - -- how to move a WordPress blog cómo mover un blog de WordPress - -- moving wordpress new domain WordPress movimiento nuevo dominio - -- moving a wordpress blog mover un blog de WordPress - -- wordpress changing domains WordPress cambio de dominios - -- move wordpress blog to new domain wordpress blog pasar a dominio nuevo - -- change wordpress domain WordPress cambio de dominio - -- how to migrate wordpress cómo migrar a WordPress - -- migrate wordpress migrar de WordPress - -- migrate wordpress blog WordPress migrar blog - -- move wordpress domain WordPress mover dominio - -- wordpress move WordPress mover - -- migrate wordpress domain WordPress migrar dominio - -- move wordpress database to new host mover wordpress base de datos a nuevo host - -- moving wordpress to new domain WordPress se desplazan a nuevo dominio - -- mozgó xp asztal mozgó XP asztal - -- moving wordpress 2.5 WordPress 2,5 en movimiento - -- wordpress absolute urls wp_posts WordPress absoluta URL wp_posts - -- move wordpress install mover instalar WordPress - -- moving wordpress domain WordPress dominio en movimiento - -- wordpress move url WordPress mover URL - -- move wordpress to another host WordPress pasar a otro anfitrión - -- \'\'move wordpress blog\'\' \ '\' mover wordpress blog \ '\' - -- change wordpress site location internal cambio de ubicación del sitio de WordPress interior - -- moving to a new doman guide se muda a un nuevo guía Doman - -- moving wordpress installation moviendo la instalación de WordPress - -- move wordpress mover WordPress - -- wordpress move host WordPress pasar de acogida - -- wordpress migrating WordPress migrando - -- moving wordpress image posts imagen en movimiento WordPress puestos - -- change site url in wordpress 2.5 cambio de URL del sitio en wordpress 2,5 - -- how to move wordpress site to new domain cómo mover wordpress sitio a nuevo dominio - --