there is a simple way to include nodes that wouldn't otherwise be included, but how does one exclude nodes?

i have a site with private areas that should not be in the map, but they are listed even though they can't be accessed.

Comments

darren oh’s picture

You can set nodes and node types to not be included in the site map. Nodes that cannot be seen by an anonymous user should never be included.

darren oh’s picture

To clarify: even if you set a node to be included, it will not be included unless an anonymous user can access it.

darren oh’s picture

Project: Google Sitemap » XML sitemap
Version: 5.x-2.x-dev » 5.x-1.0
Component: Documentation » xmlsitemap_node
blb’s picture

To exclude a type, do you set the site map "priority adjustment" to "0.0" under administer » Content management » Content types ? that didn't seem to work for me.

i don't see a specific option to exclude from the map.

if so, it might be useful to add instructions that say that in the hint text.

darren oh’s picture

Component: xmlsitemap_node » xmlsitemap
Category: support » bug
Status: Active » Fixed

The option didn't appear because of a typo in the code. Fixed in CVS commit 87654.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.