Not sure what's going on exactly, but Google Webmaster Tools is reporting 91 404 Errors for forum nodes. The odd thing is that I don't have the Forum module enabled. However, a sitemap is being created for these non-existent nodes:
http://www.corydorning.com/sitemap-2.xml
Any idea how i can remove sitemap-2.xml or how I can have the module not include these on my site? I checked my db and i can't find any references to forum nodes either...
Comments
Comment #1
dave reidThe problem is this section in xmlsitemap_taxonomy.module:
Notice that $term->module is not checking equality, but assigning the value 'forum', which will always return true. This has already been fixed in CVS (by using Drupal provided API taxonomy_term_path() instead of this function) and will be available in the next beta. If you want to fix this yourself in the meantime, change line 254 in xmlsitemap_taxonomy.module to:
if ($term->module == 'forum') {I'm going to mark this as a duplicate of #473316: Use taxonomy_term_path(). Hope this helps!
Comment #2
corydorning commentedThanks for the quick response! and sorry for the duplicate. I did a search before i posted, i must have missed the other one. Thanks again!
EDIT: if anyone else sees this and wants to update it themselves as well, i found the issue to be on line 254 instead of 264 ;)
Comment #3
dave reidBah! I typed a 6 instead of a 5. :) I corrected the line number.