{"id":20999,"date":"2018-11-14T08:48:30","date_gmt":"2018-11-14T08:48:30","guid":{"rendered":"https:\/\/www.geotelecom.mx\/?p=20999"},"modified":"2024-12-17T12:56:57","modified_gmt":"2024-12-17T11:56:57","slug":"etiqueta-hreflang-internacionalizacion","status":"publish","type":"post","link":"https:\/\/www.geotelecom.mx\/en\/blog\/label-hreflang-internationalization\/","title":{"rendered":"Hreflang: Internationalization and web localization"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><!--[CDATA[\n\n<p style=\"text-align: justify;\"]]-->Traemos informaci\u00f3n de inter\u00e9s para todos aquellos <em>e-commerces<\/em> y webs que hayan optado por segmentar su mercado en por idioma o regi\u00f3n.<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u00cdndice de contenidos<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.geotelecom.mx\/en\/blog\/label-hreflang-internationalization\/#%C2%BFComo_puede_ayudarme_el_atributo_hreflang_en_el_SEO_internacional\" >\u00bfC\u00f3mo puede ayudarme el atributo hreflang en el SEO internacional?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.geotelecom.mx\/en\/blog\/label-hreflang-internationalization\/#Ventajas_del_atributo_hreflang\" >Ventajas del atributo hreflang<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.geotelecom.mx\/en\/blog\/label-hreflang-internationalization\/#%C2%A1Son_todo_ventajas\" >\u00a1Son todo ventajas!<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.geotelecom.mx\/en\/blog\/label-hreflang-internationalization\/#_Correcta_sintaxis_de_hreflang\" >\u00a0Correcta sintaxis de hreflang<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.geotelecom.mx\/en\/blog\/label-hreflang-internationalization\/#1_Implementacion_hreflang_enlaces_del\" >1. Implementaci\u00f3n hreflang enlaces del &lt;head&gt;:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.geotelecom.mx\/en\/blog\/label-hreflang-internationalization\/#2_Implementacion_hreflang_en_cabecera_HTTP\" >2. Implementaci\u00f3n hreflang en cabecera HTTP:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.geotelecom.mx\/en\/blog\/label-hreflang-internationalization\/#3_Implementacion_hreflang_en_sitemap_XML\" >3. Implementaci\u00f3n hreflang en sitemap XML:<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.geotelecom.mx\/en\/blog\/label-hreflang-internationalization\/#Otros_aspectos_tecnicos_de_hreflang\" >Otros aspectos t\u00e9cnicos de hreflang<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.geotelecom.mx\/en\/blog\/label-hreflang-internationalization\/#X-default_La_version_por_defecto\" >X-default: La versi\u00f3n por defecto<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.geotelecom.mx\/en\/blog\/label-hreflang-internationalization\/#Hreflang_y_canonical\" >Hreflang y canonical<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.geotelecom.mx\/en\/blog\/label-hreflang-internationalization\/#Herramientas_utiles_para_hreflang\" >Herramientas \u00fatiles para hreflang<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<p class=\"wp-block-paragraph\">Como ya adelant\u00e1bamos en el post \u00ab<a href=\"https:\/\/www.geotelecom.mx\/5-claves-para-adaptar-tu-sitio-web-a-un-pais-extranjero\/\">5 claves para adaptar tu sitio web a un pa\u00eds extranjero<\/a>\u00bb, la elecci\u00f3n del nombre de dominio, la correcta traducci\u00f3n de los contenidos, la localizaci\u00f3n y adaptaci\u00f3n cultural, as\u00ed como la usabilidad web (UX), son aspectos cr\u00edticos que determinar\u00e1n el \u00e9xito y la popularidad de tu web en el mercado internacional.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">No obstante, una vez hayas pulido todos estos aspectos, <strong>si quieres llevar a cabo una buena estrategia de SEO internacional o local<\/strong>, el atributo <em>hreflang<\/em> te interesa especialmente.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%C2%BFComo_puede_ayudarme_el_atributo_hreflang_en_el_SEO_internacional\"><\/span>\u00bfC\u00f3mo puede ayudarme el atributo <em>hreflang<\/em> en el SEO internacional?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Presupongamos que tienes una web en espa\u00f1ol que acabas de traducir al ingl\u00e9s y al alem\u00e1n. \u00abYa me he molestado en adaptar la web al p\u00fablico objetivo. Ahora, \u00bfc\u00f3mo consigo que Google indexe la p\u00e1gina alemana en Alemania y no la inglesa?\u00bb. La respuesta es Hreflang.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>La funci\u00f3n principal de <em>hreflang<\/em> reside en aportar informaci\u00f3n a los motores de b\u00fasqueda para que estos ofrezcan, de entre las opciones de esa p\u00e1gina,<\/strong> <strong>la versi\u00f3n que mejor se adapte al usuario<\/strong> <strong>en funci\u00f3n de su idioma y localizaci\u00f3n geogr\u00e1fica<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ventajas_del_atributo_hreflang\"><\/span>Ventajas del atributo <em>hreflang<\/em><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Al aplicar el atributo <em>hreflang<\/em> a las p\u00e1ginas de nuestra web, <strong>informamos a Google de cu\u00e1l es el contenido que hemos creado para ese pa\u00eds en concreto<\/strong>, y que otras versiones no localizadas de la web no posicionen por encima de ella.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Por tanto, este atributo es pr\u00e1cticamente necesario cuando trabajamos con <strong>webs multiregionales o multiling\u00fces<\/strong>. Pero, adem\u00e1s, resulta especialmente \u00fatil cuando se trabaja con variaciones en <strong>divisa<\/strong>, <strong><em>shipping<\/em><\/strong>, estacionalidad y\/o cultura.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Al implementarlo, se mejora notablemente la experiencia de usuario y su satisfacci\u00f3n, lo cual se traduce <strong>en mayor tr\u00e1fico para la web<\/strong>. Adem\u00e1s, evita que Google considere contenido duplicado y penalice el posicionamiento org\u00e1nico.<\/p>\n\n\n\n<h2 class=\"has-text-align-center wp-block-heading\"><span class=\"ez-toc-section\" id=\"%C2%A1Son_todo_ventajas\"><\/span><strong>\u00a1Son todo ventajas!<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"_Correcta_sintaxis_de_hreflang\"><\/span>\u00a0Correcta sintaxis de <em>hreflang<\/em><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A la hora de implementar el atributo, nos encontramos con tres opciones posibles:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Implementacion_hreflang_enlaces_del\"><\/span>1. Implementaci\u00f3n <em>hreflang<\/em> enlaces del &lt;head&gt;:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Es la opci\u00f3n m\u00e1s com\u00fan. Se ubica dentro de la secci\u00f3n del head, y se inserta una etiqueta de enlace de tipo <em>link<\/em> por cada idioma, que contenga el c\u00f3digo de idioma y la URL de la versi\u00f3n que corresponda:<\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\">&lt;link <strong>rel=\u201dalternate\u201d hreflang=\u201c<span style=\"color: #ff6600;\"><em>Idioma<\/em><\/span><\/strong><span style=\"color: #ff6600;\"><em>&#8211;<strong>Pa\u00eds<\/strong><\/em><\/span><strong>\u201d<\/strong> <strong>href=\u201c<span style=\"color: #ff6600;\"><em>URL de destino<\/em><\/span>\u201d<\/strong> \/&gt;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">En el caso de una p\u00e1gina que tuviera versiones en ingl\u00e9s, franc\u00e9s y alem\u00e1n, el c\u00f3digo quedar\u00eda as\u00ed:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" width=\"599\" height=\"171\" src=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-HTML-code.png\" alt=\"Hreflang HTML code\" class=\"wp-image-21018\" title=\"Hreflang HTML code\" srcset=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-HTML-code.png 599w, https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-HTML-code-300x86.png 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">En caso de que se genere contenido para pa\u00edses que tengan el mismo idioma pero presenten diferencias regionales, como es el caso de una web con versi\u00f3n brit\u00e1nica y versi\u00f3n americana, se debe indicar adem\u00e1s del c\u00f3digo de idioma, el c\u00f3digo del pa\u00eds.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"561\" height=\"52\" src=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-HTML-regional-code.png\" alt=\"Hreflang HTML -regional code\" class=\"wp-image-21019\" title=\"Hreflang HTML -regional code\" srcset=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-HTML-regional-code.png 561w, https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-HTML-regional-code-300x28.png 300w\" sizes=\"(max-width: 561px) 100vw, 561px\" \/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Implementacion_hreflang_en_cabecera_HTTP\"><\/span>2. Implementaci\u00f3n <em>hreflang<\/em> en cabecera HTTP:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Se emplea en los archivos que no sean de tipo HTML, como los archivos PDF, para indicar que existe una versi\u00f3n en otro idioma de la URL.<\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><em><strong>Link: &lt;<span style=\"color: #ff6600;\">URL espa\u00f1ola<\/span>&gt;; rel=&#8221;alternate&#8221;; hreflang=&#8221;<span style=\"color: #ff6600;\">es<\/span>&#8220;, <\/strong><\/em><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><em><strong>&lt;<span style=\"color: #ff6600;\">URL inglesa<\/span>&gt;; rel=&#8221;alternate&#8221;; hreflang=&#8221;<span style=\"color: #ff6600;\">en<\/span>&#8220;,<\/strong><\/em><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><em><strong>&lt;<span style=\"color: #ff6600;\">URL alemana<\/span>&gt;; rel=&#8221;alternate&#8221;; hreflang=&#8221;<span style=\"color: #ff6600;\">de<\/span>&#8220;<\/strong><\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Implementacion_hreflang_en_sitemap_XML\"><\/span>3. Implementaci\u00f3n <em>hreflang<\/em> en sitemap XML:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Se usa como sustituto del lenguaje de marcado. Un ejemplo de sitemap.xml que incluya estos atributos ser\u00eda el siguiente:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"734\" height=\"199\" src=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-XML-code.png\" alt=\"Hreflang XML code\" class=\"wp-image-21014\" title=\"Hreflang XML code\" srcset=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-XML-code.png 734w, https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-XML-code-300x81.png 300w\" sizes=\"(max-width: 734px) 100vw, 734px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Otros_aspectos_tecnicos_de_hreflang\"><\/span>Otros aspectos t\u00e9cnicos de <em>hreflang<\/em><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"X-default_La_version_por_defecto\"><\/span><em>X-default<\/em>: La versi\u00f3n por defecto<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Para los pa\u00edses que no se hayan tenido en cuenta en la localizaci\u00f3n, conviene siempre tener una versi\u00f3n por defecto a la que dirigirles. Para ello, a los enlaces de tipo link del head habr\u00eda que a\u00f1adirles la siguiente l\u00ednea:<\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><span style=\"color: #ff6600;\"><em><span style=\"color: #000000;\">&lt;link <\/span><strong><span style=\"color: #000000;\">rel=\u201dalternate\u201d hreflang=\u201c<\/span>x-default<span style=\"color: #000000;\">\u201d<\/span><\/strong><span style=\"color: #000000;\"> <strong>href=\u201cURL de destino\u201d<\/strong> \/&gt;<\/span><\/em><\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Hreflang_y_canonical\"><\/span><em>Hreflang<\/em> y <em>canonical<\/em><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">El atributo <em>hreflang<\/em> y el atributo <em>rel=\u201ccanonical\u201d<\/em> pueden emplearse de forma conjunta. Es m\u00e1s, resulta <strong>altamente recomendable que se empleen conjuntamente<\/strong> y, en cada p\u00e1gina, el atributo <em>rel=\u201ccanonical\u201d<\/em> apunte a s\u00ed misma. De otro modo, estropear\u00eda la implementaci\u00f3n internacional.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Es decir, en una web traducida al espa\u00f1ol y al ingl\u00e9s, en la versi\u00f3n espa\u00f1ola deber\u00edamos insertar el siguiente c\u00f3digo:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"594\" height=\"152\" src=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-canonical-code-ES.png\" alt=\"Hreflang + canonical code - ES\" class=\"wp-image-21010\" title=\"Hreflang + canonical code - ES\" srcset=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-canonical-code-ES.png 594w, https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-canonical-code-ES-300x77.png 300w\" sizes=\"(max-width: 594px) 100vw, 594px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">No obstante, al cambiar a la versi\u00f3n inglesa, la etiqueta canonical del c\u00f3digo deber\u00eda apuntarse a s\u00ed misma:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"599\" height=\"152\" src=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-canonical-code-EN.png\" alt=\"Hreflang + canonical code - EN\" class=\"wp-image-21009\" title=\"Hreflang + canonical code - EN\" srcset=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-canonical-code-EN.png 599w, https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Hreflang-canonical-code-EN-300x76.png 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Herramientas_utiles_para_hreflang\"><\/span>Herramientas \u00fatiles para <em>hreflang<\/em><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li> <a style=\"font-weight: 600;\" href=\"https:\/\/www.aleydasolis.com\/herramientas-seo-internacional\/generador-etiquetas-hreflang\/\" rel=\"nofollow\">Generador de etiquetas <em>hreflang de Aleyda Solis<\/em><\/a> <\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">El generador de etiquetas de Aleyda Solis te da la opci\u00f3n de generar el c\u00f3digo XML para a\u00f1adir en tu <em>sitemap<\/em> o las etiquetas de enlace de tipo link para incluir en el &lt;head&gt; de la p\u00e1gina:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li> Generador de <em>hreflang<\/em> para sitemap XML <img loading=\"lazy\" decoding=\"async\" title=\"hreflang tag generator Aleyda Solis\" width=\"1159\" height=\"859\" class=\"aligncenter wp-image-21007 size-full\" src=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/hreflang-tag-generator-Aleyda-Solis.png\" alt=\"hreflang tag generator Aleyda Solis\" srcset=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/hreflang-tag-generator-Aleyda-Solis.png 1159w, https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/hreflang-tag-generator-Aleyda-Solis-300x222.png 300w, https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/hreflang-tag-generator-Aleyda-Solis-1024x759.png 1024w, https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/hreflang-tag-generator-Aleyda-Solis-768x569.png 768w\" sizes=\"(max-width: 1159px) 100vw, 1159px\" \/><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Para emplear esta herramienta, debes subir a la web de Media Flow un archivo CSV que contenga una columna por cada idioma y las URLs pertinentes.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li> Validador de etiquetas <em>hreflang<\/em> <\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Se trata de un validador de etiquetas muy sencillo e intuitivo. Al introducir la URL de la p\u00e1gina, realizar\u00e1 un an\u00e1lisis de la implementaci\u00f3n y detectar\u00e1 los fallos, de haberlos.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1218\" height=\"351\" src=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Flang.png\" alt=\"Validador de hreflang - Flang\" class=\"wp-image-21005\" title=\"Validador de hreflang - Flang\" srcset=\"https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Flang.png 1218w, https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Flang-300x86.png 300w, https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Flang-1024x295.png 1024w, https:\/\/www.geotelecom.mx\/wp-content\/uploads\/2018\/11\/Flang-768x221.png 768w\" sizes=\"(max-width: 1218px) 100vw, 1218px\" \/><\/figure>\n    \t","protected":false},"excerpt":{"rendered":"<p>We bring information of interest to all those e-commerces and websites that have chosen to segment their market by language or region.\n\n\n\nAs we already mentioned in the post \"5 keys to adapt your website to a foreign country\", the choice of the domain name, the correct translation of the contents, the localization and cultural adaptation, as well as the web usability (UX), are critical aspects that will determine the success and popularity of your website in the international market.\n\n\n\nHowever, once you have polished all these aspects, if you want to carry out a good international or local SEO strategy, the hreflang attribute is of particular interest to you.\n\n\n\nHow can the hreflang attribute help me in international SEO?\n\n\n\nLet's assume you have a Spanish website that you have just translated into English and German. \"I've already gone to the trouble of adapting the website to the target audience. Now, how do I get Google to index the German page in Germany and not the English one?\". The answer is Hreflang.\n\n\n\nThe main function of hreflang is to provide information to the search engines so that they offer, from among the options of that page, the version that best suits the user according to his language and geographic location.\n\n\n\nAdvantages of the hreflang attribute\n\n\n\nBy applying the hreflang attribute to the pages of our website, we inform Google which is the content we have created for that particular country, and that other non-localized versions of the website do not rank above it.\n\n\n\nTherefore, this attribute is practically necessary when working with multiregional or multilingual websites. But it is also especially useful when working with variations in currency, shipping, seasonality and\/or culture.\n\n\n\nBy implementing it, the user experience and satisfaction is significantly improved, which translates into more traffic for the website. In addition, it prevents Google from considering duplicate content and penalizing organic positioning.\n\n\n\nIt's all advantages!\n\n\n\n Correct hreflang syntax\n\n\n\nWhen implementing the attribute, there are three possible options:\n\n\n\n1. hreflang implementation  links:\n\n\n\nThis is the most common option. It is placed inside the head section, and a link tag of type link is inserted for each language, containing the language code and the URL of the corresponding version:\n\n\n\n\n\n\n\nIn the case of a page that had English, French and German versions, the code would look like this:\n\n\n\n\n\n\n\nIf content is generated for countries that have the same language but have regional differences, as in the case of a website with a British version and an American version, the country code must be indicated in addition to the language code.\n\n\n\n\n\n\n\n2. hreflang implementation in HTTP header:\n\n\n\nUsed in non-HTML files, such as PDF files, to indicate that a foreign language version of the URL exists.\n\n\n\nLink: ; rel=\"alternate\"; hreflang=\"es\",\n\n\n\n; rel=\"alternate\"; hreflang=\"en\",\n\n\n\n; rel=\"alternate\"; hreflang=\"de\", ; rel=\"alternate\"; hreflang=\"de\"\n\n\n\n3. Implementation hreflang in XML sitemap:\n\n\n\nIt is used as a substitute for markup language. An example of sitemap.xml that includes these attributes would be the following:\n\n\n\n\n\n\n\nOther technical aspects of hreflang\n\n\n\nX-default: The default version\n\n\n\nFor countries that have not been taken into account in the localization, it is always a good idea to have a default version to direct them to. To do this, the following line should be added to the link type links in the head:\n\n\n\n\n\n\n\nHreflang and canonical\n\n\n\nThe hreflang attribute and the rel=\"canonical\" attribute can be used together. Moreover, it is highly recommended that they are used together and, on each page, the rel=\"canonical\" attribute points to itself. Otherwise, it would spoil the international implementation.\n\n\n\nThat is to say, in a website translated into Spanish and English, in the Spanish version we should insert the following code:\n\n\n\n\n\n\n\nHowever, when switching to the English version, the canonical tag in the code should point to itself:\n\n\n\n\n\n\n\n\n\n\n\nUseful tools for hreflang\n\n\n\n hreflang label generator by Aleyda Solis\n\n\n\nThe Aleyda Solis tag generator gives you the option to generate XML code to add in your sitemap or link tags to include in the  of the page:\n\n\n\n hreflang generator for XML sitemap\n\n\n\nTo use this tool, you must upload a CSV file containing a column for each language and the relevant URLs to Media Flow's website.\n\n\n\n hreflang tag validator\n\n\n\nThis is a very simple and intuitive tag validator. By entering the URL of the page, it will perform an analysis of the implementation and detect bugs, if any.<\/p>","protected":false},"author":42,"featured_media":21026,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[25],"tags":[230],"class_list":["post-20999","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo","tag-seo"],"_links":{"self":[{"href":"https:\/\/www.geotelecom.mx\/en\/wp-json\/wp\/v2\/posts\/20999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.geotelecom.mx\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.geotelecom.mx\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.geotelecom.mx\/en\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/www.geotelecom.mx\/en\/wp-json\/wp\/v2\/comments?post=20999"}],"version-history":[{"count":1,"href":"https:\/\/www.geotelecom.mx\/en\/wp-json\/wp\/v2\/posts\/20999\/revisions"}],"predecessor-version":[{"id":230775,"href":"https:\/\/www.geotelecom.mx\/en\/wp-json\/wp\/v2\/posts\/20999\/revisions\/230775"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.geotelecom.mx\/en\/wp-json\/wp\/v2\/media\/21026"}],"wp:attachment":[{"href":"https:\/\/www.geotelecom.mx\/en\/wp-json\/wp\/v2\/media?parent=20999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.geotelecom.mx\/en\/wp-json\/wp\/v2\/categories?post=20999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.geotelecom.mx\/en\/wp-json\/wp\/v2\/tags?post=20999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}