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 : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Se trata de una máquina que traduzca la página se proporciona "tal cual" sin garantía. Machine translation may be difficult to understand. La traducción automática puede resultar difícil de entender. Please refer to Por favor, consulte original English article artículo original Inglés whenever possible. siempre que sea posible.
Share and contribute or get technical support and help at Compartir y contribuir o recibir apoyo técnico y ayudar a My Digital Life Forums Mi vida digital Foros .
Related Articles Artículos relacionados
- StatTraq - Wordpress Plugin for Site Statistic and Traffic Counter StatTraq - plugin para Wordpress sitio Estadística y contra el tráfico
- Integrate WordPress including Comments with bbPress Forum using bbSync Integrar la inclusión de los comentarios de WordPress con bbPress Foro utilizando bbSync
- SEO Friendly Rewrite Method to Move Website URL From Subdirectory to Root Parent Folder SEO Friendly reescribir método para mover la URL del sitio web de subdirectorio a raíz carpeta
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Paginating Split o WordPress Post o con NextPage en WordPress no funciona
- Technorati Incoming Links Plugin for WordPress Próximos enlaces Technorati plugin para WordPress
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Cómo cambiar la frecuencia o intervalo de WordPress Auto guarda una edición posterior o la página
- Disable WordPress 2.3 Core and Plugins Update Check and Notification Desactivar WordPress 2,3 básicas y complementos comprobar la actualización y la notificación
- WLWManifest Disabler Plugin to Remove XLM Link in WordPress Blog Header WLWManifest Disabler plugin para eliminar MLX enlace en la cabecera del blog de WordPress
- Download Previous or Old Version of WordPress Descargar o anterior versión antigua de WordPress
- Free Download: Akismet for WordPress Plugin 2.0 to Stop Comment, Trackback and Pingback Spam Descarga gratuita: Akismet para WordPress 2,0 plugin para Detener comentario, pingback y Trackback Spam







August 17th, 2008 10:38 17 de agosto de 2008 10:38
[...] Once you have uploaded the posts to the new blog, you’ll also want to consider running the following 2 queries as suggested here: [...] [...] Una vez que haya cargado los puestos para el nuevo blog, usted también desee considerar ejecutar los siguientes 2 preguntas como se sugiere aquí: [...]
August 10th, 2008 05:26 10 de Agosto, 2008 05:26
great info Información de gran
August 6th, 2008 18:00 6 de Agosto, 2008 18:00
[...] SQL codes from mydigitallife.info SHARETHIS.addEntry({ title: “How to move WordPress blog from old domain to new domain with 301 [...] [...] SQL códigos de mydigitallife.info SHARETHIS.addEntry ((título: "Cómo mover blog de WordPress antiguo dominio al nuevo dominio con 301 [...]
August 3rd, 2008 21:45 3 de agosto de 2008 21:45
YOU TOTALLY SAVE MY LIFE!!!!!!!! Totalmente salvar mi vida !!!!!!!! THANK YOU SO SO SO VERY MUCH! THANK YOU SO para que de manera mucho! Yea!
July 30th, 2008 15:56 30 de Julio, 2008 15:56
Gold information. Gold información.
You saved me hours. Usted me salvó horas.
Cheers ¡Salud!
July 22nd, 2008 11:08 22 de Julio, 2008 11:08
[...] http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/ [...]
July 14th, 2008 20:18 14 de Julio, 2008 20:18
[...] I’ve posted this comment to the mydigitallife.info [...] [...] Que acabo de publicar este comentario a la mydigitallife.info [...]
July 14th, 2008 20:04 14 de Julio, 2008 20:04
Hi folks, Hola gente,
I had the same probs, butt I never knew on what it depend’s. Tuve la misma Problemas, culata no sabía en lo que dependen.
I changed the sites Url in the admin area of my Wordpress-blog, but that was an fault. He cambiado los sitios URL en el área de administración de Wordpress de mi blog, sino que fue un fallo.
So nothing would be shown on the right place. Por lo tanto, nada se muestra en el lugar correcto.
Therefor I needed to change it back, but there is no way to get in the admin area again logically, after I’ve changed the root Url. Por esto yo necesitaba para volver a cambiarlo, pero no hay forma de llegar a la zona de administración, lógicamente, de nuevo, después de que he cambiado la URL raíz.
So I opened my mind to get a solution. Así que abrí mi cuenta para obtener una solución. And just in this Moment it comes over me: Y justo en este momento se trata más de mí:
…only go on your hosting surface and start PHPmyADMIN and find the following database entry: … Sólo ir a su anfitrión de la superficie comienzo y phpMyAdmin y encontrar la base de datos de entrada siguientes:
“Your WP-Blog database”–>wp_options–>make this database Entry editable–>now find the row “site_url”–>and change in the “options_value”column the root of your blog–>safe it and it’s done! "Su WP-Blog base de datos" -> wp_options-> hacer esta base de datos de entrada editable-> ahora encontrar la fila "site_url" -> y el cambio en el "options_value" columna de la raíz de su blog-> es seguro y está hecho !
greetings, Simon saludos, Simon
July 9th, 2008 13:38 9 de Julio, 2008 13:38
yes there are open Sí hay abierto
http://www.demonoid.com/
July 1st, 2008 14:18 1 de julio de 2008 14:18
Thanks for that. Gracias por ello. When I googled for this topic another blog said , to this you have to backup the entire database, create new db and upload again. Cuando me googled este tema para otro blog dice, a esto se han de hacer una copia de toda la base de datos, crear nueva base de datos y cargar de nuevo. I was really tensed, but this was actually completed in seconds…..:) Yo estaba muy tensado, pero esto fue realmente terminado en cuestión de segundos… ..:)
June 26th, 2008 22:20 26 de junio de 2008 22:20
[...] the first thing to be done was to get hold of all the old posts (though very less in number). [...] Lo primero que hay que hacer es apoderarse de todos los antiguos puestos (aunque muy inferior en número). Here google served as a saviour and I got hold of a plugin called ‘wp-migrate‘, which let me export all the posts along [...] Aquí google sirvió como un salvador y me dieron de celebrar un plugin llamado 'wp-migrar', lo que quiero exportar todos los puestos a lo largo de [...]
June 19th, 2008 03:48 19 de Junio, 2008 03:48
Thanks a lot for this tutorial! Muchas gracias por este tutorial! I’ve been wanting to do this for months but never dared because I was afraid of losing all my hard work. He estado queriendo hacer esto durante meses pero nunca se atrevió porque yo tenía miedo de perder todo mi trabajo duro. You really saved my day. Usted realmente salvó mi día.
June 16th, 2008 08:30 El 16 de junio de 2008 08:30
Thanks so much for this post. Muchas gracias por este post. It was tremendous help. Se enorme ayuda. That was so easy to follow and worked perfect. Eso era tan fácil de seguir y trabajó perfecto.
June 15th, 2008 05:29 15 de junio de 2008 05:29
[...] all their sites to the new site. [...] Todos sus sitios web al nuevo sitio. Some of these sites were wordpress powered. Algunos de estos sitios fueron wordpress potencia. Thankfully, I found this article that made the move a [...] Afortunadamente, encontré este artículo que el hecho mover un [...]
June 14th, 2008 02:09 14 de Junio, 2008 02:09
Thanks for this! Gracias por esto!
Everything working. Todo trabajo. Thanks for providing this valuable resource. Gracias por ofrecer este valioso recurso. Was invaluable for helping move our prototype Wordpress installation from my home server to full on hosting! Fue invaluable para ayudar a mover nuestro prototipo Wordpress instalación de servidor de mi casa para acoger a pleno!
June 10th, 2008 00:26 10 de Junio, 2008 00:26
I had no problem running the first query - the site found the home page instead of displaying a 404 error. He tenido ningún problema en funcionamiento la primera consulta - el sitio encontró la página en lugar de mostrar un error 404.
But whilst the second query executes (I am told 2 rows are affected) and when I click a link in the new domain site the correct url is shown in the address bar, all I get is a 404 Not found message saying the requested URL is not on the server - what does this suggest, have I lost some files? Pero mientras que la segunda consulta se ejecuta (Me han dicho 2 filas se ven afectados) y cuando hago clic en un enlace en el sitio de dominio nuevo la URL correcta se muestra en la barra de direcciones, todo lo que obtiene es un error 404 Not found mensaje diciendo que la URL solicitada es no en el servidor - ¿Qué sugiere esta, he perdido algunos archivos?
June 9th, 2008 03:03 Junio 9, 2008 03:03
I just executed this command through PHPMyAdmin after dealing with 2 days of phantom redirects… turns out all that was wrong is I forgot to change the URL. Acabo de ejecutado este comando a través de phpMyAdmin después de tratar con 2 días de redirecciones fantasma… resulta todo lo que estaba equivocado es que se me olvidó cambiar el URL. This solved ALL my problems. Esta resuelto todos mis problemas. You have no idea what a godsend this blog was to me. Usted no tiene idea de lo que es una ganga este blog fue para mí. THANK YOU! THANK YOU!
June 2nd, 2008 15:34 Junio 2, 2008 15:34
hi @ all i need plug in for hosting for wp who can help me hi @ all i necesita enchufe para acoger a wp para que me ayuden