Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Cómo Migrar Tu Web a WordPress

1,181 views

Published on

Migra tu web a WordPress: migratetowp.com

Published in: Technology
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • (Unlimited)....ACCESS WEBSITE Over for All Ebooks ................ accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Cómo Migrar Tu Web a WordPress

  1. 1. CÓMO MIGRAR TU WEB A WORDPRESS (y no morir en el intento) Antonio Villegas @avillegasn http://migratetowp.com
  2. 2. Quién soy Me encargo de las migraciones a WordPress   (entre otras muchas cosas)   Co-founder & CTO @ http://neliosoftware.com
  3. 3. Quiero migrar mi web a WordPress“ ”
  4. 4. (hay que tener muchos factores en cuenta) ADVERTENCIA cada migración es diferente
  5. 5. ¿Qué opciones tengo?   Opción 1 : Copiar los contenidos a WordPress a Mano  
  6. 6. Opción 2 : Programar un Script de Migración a WordPress   http://codex.wordpress.org/Importing_Content
  7. 7. RÁPIDA BARATA BUENA GRATIS ¿CÓMO QUIERES QUE SEA TU MIGRACIÓN? Opción 3 : Contratar un servicio de Migración a WordPress   (Sólo puedes escoger dos)   BASURA HUYE TIENES LO QUE PAGAS VA A SER QUE NO IMPOSIBLE UTOPÍA NO ACABARÁ A TIEMPO BAJA CALIDAD Y CON FALLOS
  8. 8. Análisis de la web origen Montar entorno de destino Transferencia de contenidos Migración del diseño Lanzamiento Pasos para migrar a WordPress
  9. 9. Análisis de la web origen  
  10. 10. Análisis de la web origen   OBJETIVOS Cuantificar Conocer Estimar Volumen de Datos a Migrar Volumen de Assets a Migrar Complejidad de la Web Componentes Usados Rango de Precios para el Proyecto (e-commerce, foros, encuestas, …) (imágenes, PDFs, y demás archivos)
  11. 11. Análisis de la web origen   ¿CON QUÉ NOS PODEMOS ENCONTRAR? Gestor de Contenidos Ad-Hoc Gestor de Contenidos Estándar Base de datos (esquema NO estándar) HTML (Sin base de datos) Base de datos (esquema estándar) Si tienes suerte, y el HTML sigue un patrón: Web Scraping Si no: CTRL+C, CTRL+V Para cada tabla T de la base de datos, Para cada columna C de la tabla T, Estudiar los valores que contiene, y Decidir si se migra y cómo Ya sabemos qué tablas son las buenas (experiencia) Analizar tablas ad-hoc o extensiones
  12. 12. EL CASO MÁS SENCILLO (más que una migración, es un cambio de hosting)   Opción 2: Usar un Plugin Opción 3: Contactar con el nuevo Hosting Opción 1: Usar Import/Export de WordPress Es una “migración tan sencilla” que es posible que te la hagan ellos, incluso sin coste adicional.   En tu Panel de Administración,   Herramientas > Exportar Herramientas > Importar   Duplicator: https://wordpress.org/plugins/duplicator/ All-in-One WP Migration: https://wordpress.org/plugins/all-in-one-wp-migration/ WP Migrate DB (+PRO $): https://wordpress.org/plugins/wp-migrate-db/ Backup Buddy ($): https://ithemes.com/purchase/backupbuddy/
  13. 13. Montar entorno de destino   INSTALAR WORDPRESS (y los plugins necesarios para el cliente)  
  14. 14. Montar entorno de destino   Codex Installing WordPress https://codex.wordpress.org/Installing_WordPress Managing Plugins https://codex.wordpress.org/Managing_Plugins Si tienes dudas, lo hablamos luego :-D
  15. 15. Transferencia de contenidos   MOVER LOS DATOS A WORDPRESS
  16. 16. Transferencia de contenidos   Drupal 7 a WordPress (Ejemplo Ilustrativo)
  17. 17. Transferencia de contenidos   Drupal a WordPress Esquema de la Base de Datos Drupal (que hay que migrar a WordPres)
  18. 18. Transferencia de contenidos   Drupal a WordPress Esquema de la Base de Datos Drupal (que hay que migrar a WordPres)
  19. 19. BD  WP   Transferencia de contenidos   Drupal a WordPress Esquema de la Base de Datos WordPress
  20. 20. BD  WP   Transferencia de contenidos   Drupal a WordPress Esquema de la Base de Datos WordPress
  21. 21. Transferencia de contenidos   Drupal a WordPress Usuarios Y Roles* Hay que mirar 4 tablas en Drupal: users, users_roles, role y role_permission 2 tablas en WordPress: wp_users y wp_usermeta Drupal WordPress Tabla users Tabla wp_users uid name pass mail created … ID user_login y display_name user_pass user_emal user_registered … Tenemos el siguiente mapeo (simplificación): Y para el rol (y otras cosas), crear filas en wp_usermeta user_id meta_key meta_value 1 wp_capabilities a:1:{s:13:"administrator";b:1;} 1 wp_user_level 10 * Roles y Permisos: https://codex.wordpress.org/Roles_and_Capabilities
  22. 22. Transferencia de contenidos   Drupal a WordPress Entradas, Páginas y Custom Post Types* * Si no sabes qué son los Custom Post Types: https://codex.wordpress.org/Post_Types#Custom_Post_Types La tabla node_type, indica qué tipos de elementos hay en Drupal Decidimos que Los tipos article y blog serán entradas (posts) en WordPress. El tipo page serán páginas en WordPress. El tipo racing_team será un custom post type en WordPress.   type name article Article blog Blog post page Page racing_team Racing Team
  23. 23. Transferencia de contenidos   Drupal a WordPress Entradas, Páginas y Custom Post Types* * Si no sabes qué son los Custom Post Types: https://codex.wordpress.org/Post_Types#Custom_Post_Types Tenemos el siguiente mapeo 2 a 1 (simplificación): Drupal WordPress Tabla node Tabla field_data_body Tabla wp_posts entity_id body_summary body_value nid type uid title created … (article, blog, page, racing_team) ID post_type post_author post_title post_date … post_excerpt post_content (post, page, racing_team)
  24. 24. Transferencia de contenidos   Drupal a WordPress Custom Fields* * Si no sabes qué son los Custom Fields: https://codex.wordpress.org/Custom_Fields Drupal define campos adicionales para cada tipo de entrada. Hay que mirar las tablas field_config y field_config_instance. field_name type bundle field_image image blog field_youtube youtube racing_team field_owner text racing_team field_city taxonomy_term_reference racing_team Para cada custom field, Drupal define una tabla field_data_{field_name} Hay que mirar cada tabla y decidir cómo migrar los datos que guarda. Específico para cada migración.
  25. 25. Transferencia de contenidos   Drupal a WordPress Archivos Drupal guarda los archivos (habitualmente) en los paths /sites/default/files/ o /files/ del servidor Moverlos al path /wp-content/uploads/ de WordPress ¿Y si quiero que las imágenes aparezcan en la Librería Multimedia? Investiga la tabla file_managed de Drupal. Necesitarás: filename, filepath, filemime, width, height Buscar y reemplazar referencias a paths en el contenido
  26. 26. Transferencia de contenidos   Drupal a WordPress Crea una entrada en la tabla wp_posts de WordPress, tal que: ID = Y post_title, post_name = filename guid = filepath en WordPress post_mime_type = filemime post_type = ‘attachment’ Crea entradas necesarias en la tabla wp_postmeta de WordPress: post_id meta_key meta_value Y _wp_attached_file images/content/The-Walking-Dead-S05.jpg Y _wp_attachment_image_alt The Walking Dead Y _wp_attachment_metadata a:5:{s:5:"width";i:1440;s:6:"height";i:1080;s: 4:"file";s:53:"images/content/The-Walking-Dead- S05.jpg”; … }
  27. 27. Transferencia de contenidos   Drupal a WordPress Crea una entrada en la tabla wp_posts de WordPress, tal que: ID = Y post_title, post_name = filename guid = filepath en WordPress post_mime_type = filemime post_type = ‘attachment’ Crea entradas necesarias en la tabla wp_postmeta de WordPress: post_id meta_key meta_value Y _wp_attached_file images/content/The-Walking-Dead-S05.jpg Y _wp_attachment_image_alt The Walking Dead Y _wp_attachment_metadata a:5:{s:5:"width";i:1440;s:6:"height";i:1080;s: 4:"file";s:53:"images/content/The-Walking-Dead- S05.jpg”; … } X _thumbnail_id Y ¿Y para asignar el attachment n como imagen destacada de la entrada X?
  28. 28. Transferencia de contenidos   Drupal a WordPress URLs Hay que mirar tabla url_alias de Drupal source alias node/ID url-bonita Drupal y WordPress pueden usar URLs (Permalinks) diferentes Para cada entrada, página o custom post type migrado, Redirección 301 node/ID URL en WordPress Redirección 301 alias URL en WordPress (sólo si URL en WordPress es distinta de alias en Drupal) Podemos añadir las redirecciones en el .htaccess, o usar el plugin Redirection de WordPress (https://wordpress.org/plugins/redirection/) Objetivo: Evitar Errores 404
  29. 29. Transferencia de contenidos   Drupal a WordPress Y muchas más cosas… Comentarios Tablas Drupal: comment Tablas WordPress: wp_comments, wp_commentmeta Taxonomías (etiquetas y categorías) Tablas Drupal: taxonomy_index, taxonomy_term_data, taxonomy_term_hierarchy, taxonomy_term_relation, taxonomy_vocabulary, taxonomy_term_synonym Tablas WordPress: wp_terms, wp_term_taxonomy, wp_term_relationships Multilenguaje Tablas Drupal: languages, y todas las que tengan la columna ‘language’ Opciones WordPress: WPML https://wpml.org/ qTranslate https://wordpress.org/plugins/qtranslate/ Polylang https://wordpress.org/plugins/polylang/ Menús Tablas Drupal: menu_custom, menu_links, menu_router Tablas WordPress: wp_posts, wp_postmeta
  30. 30. Transferencia de contenidos   Drupal a WordPress Y aún mucho más… e-Commerce Foros Redes de Usuarios Encuestas Galerías de imágenes BuddyPress: incluye 7 tablas nuevas en la Base de Datos WordPress (con prefijo wp_bp_) https://wordpress.org/plugins/buddypress/   WooCommerce: incluye 7 tablas nuevas en la Base de Datos WordPress (con prefijo wp_woocomerce_) https://wordpress.org/plugins/woocommerce/   bbPress: https://wordpress.org/plugins/bbpress/   WP-Polls: incluye 3 tablas nuevas en la Base de Datos WordPress (con prefijo wp_polls_) https://wordpress.org/plugins/wp-polls/   NextGEN Gallery: incluye 3 tablas nuevas en la Base de Datos WordPress (con prefijo wp_ngg_) https://wordpress.org/plugins/nextgen-gallery/ Usar Shortcode [gallery] de WordPress: https://codex.wordpress.org/Gallery_Shortcode
  31. 31. Migración del diseño  
  32. 32. Migración del diseño   IMPOSIBLE DE AUTOMATIZAR Opción A: Escoger un Tema parecido + Adaptar Estilos Opción C: Contratar a un Diseñador (dependiendo del diseño, puede ser muy laborioso) (te hará un tema adaptado a tus necesidades) Opción B: Adaptar el HTML de tu web a WordPress (sólo para especialistas)
  33. 33. Lanzamiento  
  34. 34. Lanzamiento   RECOLOCAR WORDPRESS APUNTAR AL NUEVO SERVIDOR Si instalaste WordPress en un subdirectorio: Muévelo a la raíz, o Haz que el nombre de dominio apunte al subdirectorio. Si cambias de hosting (y mantienes el dominio): Actualiza el servidor de nombres (DNS) para que apunte a la IP del servidor del nuevo hosting. http://codex.wordpress.org/Giving_WordPress_Its_Own_DirectoryCodex! Consulta a tu Hosting y al Proveedor de Nombre de Dominio
  35. 35. Lanzamiento   VERIFICAR QUE TODO ES CORRECTO Codex! Plugins Herramientas externas: Enlaces rotos: https://wordpress.org/plugins/broken-link-checker/ Cambiar URLs: https://wordpress.org/plugins/velvet-blues-update-urls/ Cambiar URLs y más: https://wordpress.org/plugins/better-search-replace/ Imágenes destacadas: https://wordpress.org/plugins/media-tools/ Imágenes destacadas: https://wordpress.org/plugins/auto-post-thumbnail/ Añadir imágenes a Librería Multimedia: https://wordpress.org/plugins/add-from-server/ Thumbnails: https://wordpress.org/plugins/regenerate-thumbnails/ Combinar términos: https://wordpress.org/plugins/term-management-tools/ Visor MySQL: https://wordpress.org/plugins/adminer/
  36. 36. En Conclusión… Cada pequeño detalle cuenta para conseguir el éxito en una migración. Entender los “datos” de origen es la clave para evitar perder información. Si el proyecto es complejo, acude a un profesional. Ahorrarás tiempo y dinero.
  37. 37. GRACIAS! Antonio Villegas @avillegasn !

×