Hello, I'm posting this again under a new heading as I did not get any response first time around! I could do with some help please.

Hello, I've just installed XML sitemap and trying to set it up.

I'm trying to edit the default list for my site and get the message:

'There are currently no XML sitemap contexts available.'

I get the same message when I try to add a new XML sitemap.

How do I add a context?

Any help to set this up would be much appreciated.

Cheers

Rob

Comments

Hi Rob

I tested on my site and this does seem confusing.  I googled and found this link which is relevant:

https://www.drupal.org/project/xmlsitemap/issues/939812

I think as that discussion alludes to the User interface would benefit from being clearer.  I'll ping the maintainers on the chat channel.

Rob, I did a little digging and it looks like that message is confusing since way back.

"There are currently no XML sitemap contexts available." is *not* an error message. Just continue to press Save and you'll get it to work.

See also: 

If you have a suggestion on how to clarify what that means, I think it would be great -- please file an issue in the queue. And/or add an "Initial configuration" page to the Wiki and begin to flesh it out.

Spitball: If you've enabled XMLSitemap node you may also need to enable it per content-type that you want to be made available to the sitemap?

Thanks @yorkshirepudding and @laryn

The Problem is I don't really know how this module is supposed to work and how to set it up and use it. I've included it in the content types I'm targeting. When I try and edit and save, as suggested above, I'm back to the list. When I click on the list I get a 404 error. 

I don't know if this is just my lack of knowledge with the module or if these problems are bugs.

Basically I just need simple documentation to help and explain this to me!

Cheers

Rob 

EDIT: I've managed to get it it working. I checked the status report and it revealed the problem. I needed to set the permissions 'view user profiles' to allow anonymous users and bingo it works!