Google Sitemap

Sharon Parry asked on July 19, 2021 02:31


I'm having issues getting the Google Sitemap setup for a version 11 site and hope someone might be able to give me a hint as to what I might be doing wrong. This is the only version 11 site I've got running. Have a few version 12 sites and I've setup the Google Sitemap in exactly the same way as it is on those sites (no issues on any of them).

The sitemap.xml page is only generated if the user is authenticated on the website (eg, logged into Admin and then go to the live site). If you navigate to the sitemap url if you're not authenticated none of the xml is generated and page just displays the "XML Parsing Error: no root element found" error message.

Recent Answers

David te Kloese answered on July 19, 2021 08:43


Is it a Portal Engine or MVC site?

If PE check if the Web Part on the template has any auth configurations. If using default Web Part perhaps you made any changes to the "~/CMSPages/GoogleSiteMap.aspx.cs"

0 votesVote for this answer Mark as a Correct answer

Sharon Parry answered on July 19, 2021 20:34

OMG, do I feel DUMB! The "Check permissions" checkbox in the System settings was checked!!

I had trawled through all the settings between sites so many times but completely missed that. I even completely deleted the sitemap page and recreated it from scratch, so that Check permissions setting must be set to True by default!

Thanks David.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.