Do not add news and event URLs to the sitemap if the target page is exempt from the sitemap (see #6418)