{"id":899,"date":"2015-08-06T10:18:55","date_gmt":"2015-08-06T16:18:55","guid":{"rendered":"https:\/\/psoluciones.net\/?p=899"},"modified":"2015-08-06T10:20:43","modified_gmt":"2015-08-06T16:20:43","slug":"corregir-error-404-yoast-seo-site-map-xml","status":"publish","type":"post","link":"https:\/\/emanuelpaxtian.com\/blog\/corregir-error-404-yoast-seo-site-map-xml\/","title":{"rendered":"Corregir error 404 del sitemap xml Yoast SEO"},"content":{"rendered":"<p>Recientemente instale el Yoast SEO y al accesar a la parte del sitemap genera un error 404 y no muestra el sitemap<\/p>\n<h3>QUE \u00a0ES UN SITEMAP<\/h3>\n<p>Un sitemap es un archivo XML que contiene una lista de las p\u00e1ginas del sitio junto con alguna informaci\u00f3n adicional, tal como con qu\u00e9 frecuencia la p\u00e1gina cambia sus contenidos, cu\u00e1ndo fue su \u00faltima actualizaci\u00f3n y qu\u00e9 tan importante es respecto al resto de las p\u00e1ginas del mismo sitio.<\/p>\n<p>CORRIGIENDO EL ERROR 404 DEL YOAST SEO<\/p>\n<p>Para corregir el error 404 que nos aparece es muy sencillo solo tendremos que agregar unas lineas a nuestro archivo .htaccess, las lineas a a\u00f1adir son las siguientes, las cuales podemos a\u00f1adirlas desde el dashboard.<\/p>\n<ul>\n<li>Vamos a SEO damos clic en herramientas<\/li>\n<li>Editor de archivos<\/li>\n<li>entramos a la secci\u00f3n Archivo .htaccess<\/li>\n<li>pegamos el c\u00f3digo a continuaci\u00f3n.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nRewriteRule ^sitemap_index.xml$ \/index.php?sitemap=1 &#x5B;L]\r\nRewriteRule ^locations.kml$ \/index.php?sitemap=wpseo_local_kml &#x5B;L]\r\nRewriteRule ^geo_sitemap.xml$ \/index.php?sitemap=geo &#x5B;L]\r\nRewriteRule ^(&#x5B;^\/]+?)-sitemap(&#x5B;0-9]+)?.xml$ \/index.php?sitemap=$1&amp;sitemap_n=$2 &#x5B;L]\r\nRewriteRule ^(&#x5B;a-z]+)?-?sitemap.xsl$ \/index.php?xsl=$1 &#x5B;L]\r\n<\/pre>\n<p>Espero les sea de utilidad la informaci\u00f3n y no olviden compartirla <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recientemente instale el Yoast SEO y al accesar a la parte del sitemap genera un error 404 y no muestra el sitemap QUE \u00a0ES UN SITEMAP Un sitemap es un&hellip;<\/p>\n","protected":false},"author":1,"featured_media":905,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,21],"tags":[],"class_list":["post-899","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo","category-wordpress"],"_links":{"self":[{"href":"https:\/\/emanuelpaxtian.com\/blog\/wp-json\/wp\/v2\/posts\/899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emanuelpaxtian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emanuelpaxtian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emanuelpaxtian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/emanuelpaxtian.com\/blog\/wp-json\/wp\/v2\/comments?post=899"}],"version-history":[{"count":0,"href":"https:\/\/emanuelpaxtian.com\/blog\/wp-json\/wp\/v2\/posts\/899\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/emanuelpaxtian.com\/blog\/wp-json\/wp\/v2\/media\/905"}],"wp:attachment":[{"href":"https:\/\/emanuelpaxtian.com\/blog\/wp-json\/wp\/v2\/media?parent=899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emanuelpaxtian.com\/blog\/wp-json\/wp\/v2\/categories?post=899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emanuelpaxtian.com\/blog\/wp-json\/wp\/v2\/tags?post=899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}