Hi, it could be a problem with the stylesheet. What do you see when you hit Ctrl+u to view the source code? Does Google Search Console show an error for your sitemap?
Hello @ravanh
Here the data of the page source:
<?xml version=”1.0″ encoding=”UTF-8″?>
<?xml-stylesheet type=”text/xsl” href=”/wp-content/plugins/xml-sitemap-feed/assets/styles/sitemap-index.xsl?ver=5.2.7″?>
<!– generated-on=”2021-03-01T13:42:19+00:00″ –>
<!– generator=”XML Sitemap & Google News for WordPress” –>
<!– generator-url=”https://status301.net/wordpress-plugins/xml-sitemap-feed/” –>
<!– generator-version=”5.2.7″ –>
<sitemapindex xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation=”http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd”>
<sitemap>
<loc>https://XXXXXXXXXXXXX/sitemap-home.xml</loc>
<lastmod>2021-02-13T12:57:46+00:00</lastmod>
</sitemap>
<sitemap>
<loc>https://XXXXXXXXXXXXX/sitemap-posttype-page.xml</loc>
<lastmod>2021-02-18T12:25:10+00:00</lastmod>
</sitemap>
</sitemapindex>
Google Search Console shows successful
Thanks
Update:
Strange, sometimes it is perfectly visible, other times the page just keeps loading and loading.
I viewed it on a different computer with a different browser and then everything was correct several times.
So it has been resolved for me.
Thank you!
OK, so it looks like there is something before that first tag <?xml version=”1.0″ encoding=”UTF-8″?> there? That would explain the blank page rendering in your browser. There should be nothing preceding that XML declaration tag, not even a space or a blank line…
If there is indeed something there, then you need to find out where it is coming from.