Do not include links to terms without associations to nodes
buglen - July 17, 2009 - 00:27
| Project: | XML sitemap |
| Version: | 6.x-1.x-dev |
| Component: | xmlsitemap_taxonomy.module |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | release 6.x-1.1 |
Jump to:
Description
When the sitemap is created all term nodes are added by default, even those that have no content associated. While the individual terms can be "turned off" in the term edit page, an option to skip all empty terms would be useful to keep the default "There are currently no posts in this category" pages from being indexed by the search engine.
Thank you for considering this request.

#1
#2
#3
I think it makes more sense to never add empty term page links rather than making in an option. What do others think?
#4
I agree; more than optional, it should be something the module always does.
Google will keep the link to the taxonomy term page, even if the link doesn't appear anymore in the sitemap. I am not sure if other search engines do the same; if this would be the case, then not adding links to taxonomy term pages when there are not nodes associated with the term would be something completely useless.
#5
I also agree. I've a taxonomy with countries of which only 3 are used. That a huge number of blank pages in the sitemap. However, manually setting the 3 is not that easy the 3 have lots of child terms so it would be a lot of manual setting.
Also, what about this module getting the latest node lastmod for the term and using that as the term lastmod?