sitemap did not updated after excluded some term ids
-
Hi,
I try to use ‘wpseo_exclude_from_sitemap_by_term_ids’ hook, but after the implementation, The taxonomy specific sitemap still contains bad links which have excluded term taxonomy ids.
the code :
function sitemap_exclude_terms( $terms ) { return [ 33,34 ]; } add_filter( 'wpseo_exclude_from_sitemap_by_term_ids', 'sitemap_exclude_terms', 10, 1 );
I tried to turn off and on the sitemap feature, I purged my cache multiply times, but the links still there.
What did I miss?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘sitemap did not updated after excluded some term ids’ is closed to new replies.