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.

Comments

avpaderno’s picture

Title: Option to skip empty terms » Option to skip terms not associated with any nodes
Component: xmlsitemap.module » xmlsitemap_taxonomy.module
Anonymous’s picture

Version: 6.x-1.0-rc1 » 6.x-1.x-dev
Status: Active » Postponed
Issue tags: +release 6.x-1.1
Anonymous’s picture

Title: Option to skip terms not associated with any nodes » Do not include links to terms without associations to nodes
Priority: Minor » Normal
Status: Postponed » Active

I think it makes more sense to never add empty term page links rather than making in an option. What do others think?

avpaderno’s picture

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.

malc_b’s picture

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?

dave reid’s picture

Version: 6.x-1.x-dev » 7.x-2.x-dev
Status: Active » Postponed

Moving this to a feature request for the 2.x version (both D7 and D6) since 1.x is closed to feature requests. It's also not very high priority, so marking as postponed.

pifagor’s picture

Issue summary: View changes
Status: Postponed » Closed (won't fix)