Download & Extend

Do not include links to terms without associations to nodes

Project:XML sitemap
Version:7.x-2.x-dev
Component:xmlsitemap_taxonomy.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed
Issue tags:release 6.x-1.1

Issue Summary

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

#1

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

#2

Version:6.x-1.0-rc1» 6.x-1.x-dev
Status:active» postponed

#3

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?

#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?

#6

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.

nobody click here