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.
@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
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.
@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.
@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.