[Feature Request] Exclude Post from Sitemap in Post editor
-
Hey,
So, for context here. I have a custom post type that feeds into a database. For various reasons I have to create duplicates to account for variations in the data. Now, this causes duplicate content issues. I manage 301s via htaccess as that’s quicker than letting WordPress handle them. But a more ideal would be for them not to appear in the sitemap at all.
I know there is a field to put post IDs into, but that’s not efficient. Would it be possible to add an option in the post editor panel – with the “index, noindex fields” to exclude or include in the sitemap please?
I need my CPT to be in the sitemap, you see, but not the duplicates.
If the option isn’t a viable addition, is there a way I could implement something on the post editor, like a shortcode that RM would interpret as “not-in-sitemap”? Thanks ??
Edit: after a bit of digging I may have found something, but I’m not sure. Does marking a post as “noindex” also exclude/remove it from the sitemap?
- The topic ‘[Feature Request] Exclude Post from Sitemap in Post editor’ is closed to new replies.