we have xml_sitemap 7.x-2.0-rc1 and drupal 7.23 core and it is putting unpublished nodes in the xml site map. What can we do?
closed as too broad by kiamlaluno♦ May 13 at 11:16
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
solution - turn off the individual node. with the xmlsitemap node module enabled. at the bottom of the content page when you are editing you can choose Inclusion: Excluded.
Excluding the node manually, isn't really the long term solution. The actual problem resides with the module. There is currently a patch that claims to handle this issue and that's the best place to start.
See this: https://www.drupal.org/node/2266933