• Resolved leonardo1986

    (@leonardo1986)


    Hola, he estado construyendo un sitio en wordpress con el tema woocommerce ELECTRO PRO de 2018 y todo marchaba bien hasta que instalé Yoast SEO 9.6 y traté de visualizar el sitemap y me devuelve el siguiente error:

    https://falcopc.com/sitemap_index.xml

    “Error al cargar la hoja de estilo: El procesamiento de una hoja de estilo XSLT ha fallado.”

    He desinstalado el plugin de manera correcta según:

    https://kb.yoast.com/kb/how-can-i-uninstall-my-plugin/

    Lo he vuelto a instalar y el error continúa.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter leonardo1986

    (@leonardo1986)

    Ahora me sale este texto plano

    https://falcopc.com/post-sitemap.xml
    2019-02-15T21:15:51+00:00

    https://falcopc.com/page-sitemap.xml
    2019-02-22T19:35:06+00:00

    https://falcopc.com/product-sitemap.xml
    2019-02-22T02:27:19+00:00

    https://falcopc.com/category-sitemap.xml
    2019-02-15T21:15:51+00:00

    https://falcopc.com/post_tag-sitemap.xml
    2019-02-15T21:15:51+00:00

    https://falcopc.com/product_cat-sitemap.xml
    2019-02-22T02:27:19+00:00

    Sa?a

    (@stodorovic)

    It isn’t issue related to Yoast SEO plugin. It seems that your server blocks xsl files. It could be related to security rules on your server.

    $ curl -k -i https://falcopc.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl
    HTTP/1.1 403 Forbidden
    Cache-Control: private, no-cache, no-store, must-revalidate, max-age=0
    Pragma: no-cache
    Content-Type: text/html
    Content-Length: 1139
    Date: Sat, 23 Feb 2019 09:51:12 GMT
    Server: LiteSpeed
    ...
    
    

    From other side, XSLT stylesheet is needed only for rendering sitemap in browser. Googlebot should read sitemap without errors.

    Thread Starter leonardo1986

    (@leonardo1986)

    Plain text only appears in firefox older versions… in lastest versions appears this one:
    “Error al cargar la hoja de estilo: El procesamiento de una hoja de estilo XSLT ha fallado.”

    So…I am going to comunicate with my hosting admins and ask about existing rules blocking XSLT. Let see if I undertood what you said… if I put my sitemap url in Search Console, google spider will recognize it even with this browser error..??

    Talking abour rules in server, I have this beautiful .htaccess in wp-content

    Order deny,allow
    Deny from all
    <Files ~ ".(eot|ttf|otf|woff|woff2|xml|css|mp3|mp4|avi|bmp|svg|jpe?g|png|gif|js|html)$">
    Allow from all
    </Files>

    Is it able to interfiere with XSL execution?? I am asking because XSLT is inside this directory.

    Thanks a lot..!!! (Non solved yet..!!!)

    Sa?a

    (@stodorovic)

    I’ve similar rules. You omit xsl (there is only xml) in your rules. If you add xsl then it should work.

    I use following regular expression (I think that it covers all “static files”):

    (jp(e?g|2)?|png|gif|bmp|ico|css|js|swf|xml|xsl|html?|mp(eg?|[34])|avi|wav|og[gv]|xlsx?|docx?|pptx?|gz|zip|rar|pdf|xps|7z|[ot]tf|eot|woff2?|svg|od[tsp]|flv|mov)

    Thread Starter leonardo1986

    (@leonardo1986)

    Hey I was right… and you too… I fixed it today…. thanks a lot..!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error en XML Sitemap’ is closed to new replies.