RESULT: The above example excludes all news items from the sitemap, regardless of whether their Include in sitemap property is selected. They are excluded from all sites in a multisite environment.
PREREQUISITES: You must have generated the sitemap at least once.
NOTE: You may want to include explicitly a type, if you have a type with many child types and you want to include only one. Then, it is faster to first exclude all of the child types of the type and then include only one.
Back To Top