-
when i go to mydomain/sitemap_index.xml i see ‘This XML file does not appear to have any style information associated with it. The document tree is shown below.’ error and some wrong sitemap. When i go to domain.com?sitemap=1 i see proper sitemap from rank math. When i added below code to .htacces it doesn’t helped.
# START of Rank Math Sitemap Rewrite Rules
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L]
# END of Rank Math Sitemap Rewrite Rules
The ticket ‘troubles on mydomain/sitemap_index.xml’ is closed to new replies.