Sitemap containing non existent URLs
-
Hey there! Having problems with the sitemap that contains non existent URLs. I have a Testimonials section of my website which yoast has created Testimonial sitemap for. However in this sitemap are some “test” testimonials which do not exist anymore. They were deleted from the site and no longer around yet they are still in the sitemap for some reason.
Because of the way the testimonials section on my website exists, when they were deleted they disappeared and did not go to trash so I cannot access the page and do a yoast seo setting to not include it in index.
Is there a way to manually remove a URL from sitemap? I tried to edit robots.txt to include this:
Noindex: /testimonial/test2/
Noindex: /testimonial/test1/but it did not remove them from the sitemap. Any idea how to manually remove a specific url from the sitemap?
Thanks!
- The topic ‘Sitemap containing non existent URLs’ is closed to new replies.