In all my custom taxonomies have this selected: Use default (Currently: index) and include in sitemap: “discover automatic”.
In class-sitemaps.php line 464 (SEO plugin version 22.214.171.124) I have to remove these lines:
if ( wpseo_get_term_meta( $c, $c->taxonomy, 'noindex' ) && wpseo_get_term_meta( $c, $c->taxonomy, 'sitemap_include' ) != 'always' ) continue;
If I don’t do this, my custom taxonomies will not appear in the sitemap.
- The topic ‘Custom Taxonomies and XML Sitemaps doesn't work’ is closed to new replies.