Handle sitemap error

handle sitemap error when no content available.