• Resolved Philippe

    (@wp207)


    Hello, I have noticed an error with this page. Can’t display the sitemap.

    The mesage is : Erreur lors du chargement de la feuille de style : Échec de l’analyse d’une feuille de style XSLT.

    Can you help please ? Thanks a lot. Philippe

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Shivam Tyagi

    (@shivamtyagi)

    Hi @wp207,

    Thanks for reaching out!

    I took a look at your sitemap and found what’s causing the error. Your XSL stylesheet (used to display the sitemap nicely in browsers) has been modified so that all the HTTP URLs in the XSL file have been automatically changed to HTTPS.

    For example, we expect lines like this in the default XSL file:

    xmlns:html="http://www.w3.org/TR/html40"
    xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9"
    

    But on your site, they’ve been changed to:

    xmlns:html="https://www.w3.org/TR/html40"
    xmlns:sitemap="https://www.sitemaps.org/schemas/sitemap/0.9"
    

    This change breaks the XML rendering in the browser, causing the error you’re seeing:
    “Erreur lors du chargement de la feuille de style : Échec de l’analyse d’une feuille de style XSLT.”

    This typically happens when something in your setup—such as a security plugin, server setting, or CDN—is set to force HTTPS rewriting on all output, even for XML/XSL files, where it shouldn’t be applied.

    You’ll want to disable automatic URL rewriting for XML/XSL files. Here are a few places to check:

    1. Caching or Optimization Plugin
      If you’re using plugins like WP Rocket, LiteSpeed Cache, etc., check if there’s an option enabled to force HTTPS or rewrite all content to HTTPS.
    2. CDN (e.g., Cloudflare)
      Check if your CDN has a rule that rewrites all content from HTTP to HTTPS and add an exception for .xsl files.
    3. .htaccess or Server Config
      If you (or your developer) have a rule in .htaccess to rewrite all URLs to HTTPS, make sure to exclude requests for the XSL file used by the sitemap.

    Once this is resolved and the original http:// schema is restored for the XSL references, your sitemap will display properly again.

    Let me know once you’ve made the changes or if you’d like help reviewing your setup further—I’m here to assist!

    Thread Starter Philippe

    (@wp207)

    Hello @shivamtyagi

    Thanks so much for all this ! Indeed, there is a new option in my optimization plugin “SECUPRESS” that forces http to https everywhere ! I had activated it 2 weeks ago but I have just disabled it and now my sitemap displays properly again. 🙂

    By the way, in additon to the classic https://therapies-alternatives-bordeaux.fr/page-sitemap.xml (which is good) I am aslo having now this one https://therapies-alternatives-bordeaux.fr/addl-sitemap.xml that refers to my other website http://www.philipperoset.fr. Even if I don’t understand why this link stands there, I guess it is ok !!?? Thanks again and have a great week ! Philippe

    Plugin Support Shivam Tyagi

    (@shivamtyagi)

    Hi @wp207,

    Thanks for your reply!

    You’re absolutely right—the sitemap at https://therapies-alternatives-bordeaux.fr/page-sitemap.xml is your main sitemap index and looks great.

    The additional one at https://therapies-alternatives-bordeaux.fr/addl-sitemap.xml appears because the “Additional Pages” feature is enabled in AIOSEO. This feature is typically used to include URLs that aren’t part of your WordPress content—like external pages or custom systems.

    In this case, it looks like a link to http://www.philipperoset.fr was manually added at some point. If that was done intentionally to help search engines discover your other website, it’s perfectly okay to leave it there.

    However, if you’d prefer to remove it, here’s how you can do that:

    1. Go to All in One SEO > Sitemaps in your WordPress dashboard.
    2. Scroll down to the Additional Pages section.
    3. Click the trash icon next to the URL you want to remove.
    4. Click Save Changes at the bottom of the page.

    That will remove the entry and the addl-sitemap.xml file will no longer appear.

    Let me know if you have any other questions and I’ll be happy to help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘error with https://therapies-alternatives-bordeaux.fr/sitemap.xml’ is closed to new replies.