: Indicate removal of content in sitemap Sometimes we need to remove lots of content from our sites and our current method is to prefix (-) before URL in sitemap to indicate that URL no longer
Sometimes we need to remove lots of content from our sites and our current method is to prefix (-) before URL in sitemap to indicate that URL no longer exists.
Is this is a correct method? If it's not, then how can we indicate removed content in a sitemap?
More posts by @Ravi8258870
1 Comments
Sorted by latest first Latest Oldest Best
A sitemap is designed to be a static map of existing pages to direct a robot. It's not valuable for seeing things that aren't there in the way that it isn't going to call out something that doesn't exist and then say "Oh, don't look at that".
You don't need to specifically indicate that pages are gone, you just need to take 2 steps:
Make sure that those removed URLs are not in the sitemap. This requires you to generate a new one after each round of deletions.
Check that your 301 redirects are in place and correct. I use Screaming Frog to crawl the entire site and turn up any pages that are 404'd (this also calls out internal links pointing to them).
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.