Replies: 0
Hello,
We have renamed some of our pages and changed the slugs. The Yoast xml sitemap is now showing both the old name and new name as separate pages.
I busted the cache, turned sitemap feature on and off, turned plugin on and off, yet it is still there.
We are using a redirection plugin “Redirection” to direct old name to new name.
I do see there are hooks I can add for the page ID (https://developer.yoast.com/features/xml-sitemaps/api/#exclude-specific-posts). I don’t want to exclude the page ID though (as it has a new name) I want to just exclude the old slug