I see suddenly this message in my status report.

XML sitemap anonymous content access Zugriff verweigert
In order to allow search engines to view the XML sitemap and content on your site, the anonymous user role must have the access content permission.

I created with my module an own node type and i set the content permission to guests. So what's wrong? Is it because i just use my own node type or is this a bug or a problem of my modul wich defines the own content type.

Comments

dave reid’s picture

Component: Tests » xmlsitemap.module

Hrm, I guess this was just something that was in the 1.x version, but I guess the access content permission isn't necessary to view the actual XML sitemap. I think we should just convert this to use 'access callback' => TRUE. If anonymous users can't view the links, they won't be see those links in the XML sitemap too.

dave reid’s picture

Title: Access content permissions » Do not require 'access content' to view sitemap.xml
Version: 7.x-2.0-beta1 » 7.x-2.x-dev
Assigned: broncomania » dave reid
Status: Active » Needs review
StatusFileSize
new2.06 KB
dave reid’s picture

Status: Needs review » Fixed

Committed #2 to CVS for both D7 and D6. Thanks for reporting this issue!
http://drupal.org/cvs?commit=432860
http://drupal.org/cvs?commit=432862

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.