In Composer articles, we use Syndication Settings to control when articles should be marked "noindex" in the meta tags. However, those articles still show up in the sitemap features we use from the @wpmedia/sitemap-feature-block
package. We'd like to be able to have articles with Sydnication Settings "None" excluded from the sitemaps so search engines can skip them.
Hi Todd, After digging into this some more, we found that our customers have many different uses for the syndication field as well as different rules and workflows for how they noindex their specific content. With that, we won't be able to make this exclusion out-of-the-box, however I wanted to suggest making an exclusion on the resolver for that feed (details here on ans include / exclusions). Otherwise, the metadata logic for the noindex would need to be handled in the header of the
default-output-block
or therobots.txt
file.Hi Todd, Thank you for submitting this idea. I am going to review this with the team to see if we can come up with a flexible solution that would allow articles to be "noindex" on the
@wpmedia/sitemap-feature-block
, based on the configured metadata for any organization. Otherwise, we could consider using the Syndication Settings value, but I'd first like to review some options that are more flexible since some organizations use different metadata to flag their noindex. I'll update this idea once we are able to brainstorm on this.