• Resolved mbvipern

    (@mbvipern)


    Hallo

    I have a problem with the sitemap.

    I always get an error message when indexing on Google. And the following error:

    Your sitemap appears to be an HTML page. Please use a supported sitemap format instead.

    And I can’t find any mistake. Maybe you can help me after hours of searching.

    Many Thanks`

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @mbvipern

    Thanks for reaching out about your XML sitemap file.

    Usually, your Yoast-generated XML sitemap should be accessible here, but that doesn’t work. Instead, random images load at that URL.

    I tried to access the non-pretty permalink but it’s blank. Fortunately, the source code for the sitemap is not empty, but the XSL file linked at the top of the XML file isn’t loading. It could be that the file has been blocked by .htaccess prevention of the wp-content directory.

    You should speak to your host provider and confirm nothing in your .htaccess file is preventing it from loading.

    Also, if you have a cache plugin or server-side cache, please flush the cache.

    • This reply was modified 3 years, 7 months ago by Maybellyne.
    Thread Starter mbvipern

    (@mbvipern)

    @maybellyne

    Thank you for your quick reply.
    
    I don't have a cache plugin installed.
    
    If I delete the .htaccess I get a 404 error and the following text is in it:

    # BEGIN WordPress
    # Die Anweisungen (Zeilen) zwischen „BEGIN WordPress“ und „END WordPress“ sind
    # dynamisch generiert und sollten nur über WordPress-Filter geändert werden.
    # Alle Änderungen an den Anweisungen zwischen diesen Markierungen werden überschrieben.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Plugin Support Maybellyne

    (@maybellyne)

    Hello @mbvipern

    I never recommended deleting the .htaccess file. Instead, I strongly recommend speaking with your web hosting provider to confirm that nothing in your .htaccess file prevents the XSL file from loading.

    Thread Starter mbvipern

    (@mbvipern)

    @maybellyne

    I didn’t delete the file, just renamed it 🙂 I wrote to my hoster, I’ll get back to you when I know more

    @mbvipern Thanks for your reply and please let us know once you’ve heard back.

    Thread Starter mbvipern

    (@mbvipern)

    @devnihil

    Our web hoster couldn’t find anything either. I’ve now tested it again and for whatever reason, google took it without errors. If there is anything else I would let you know.

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

The topic ‘Sitemap html mistake’ is closed to new replies.