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.
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..!!!)
-
This reply was modified 7 years, 1 month ago by
leonardo1986.
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)
Hey I was right… and you too… I fixed it today…. thanks a lot..!!