WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Categories and custom taxonomies are being excluded from the sitema (1 post)

  1. Memo
    Member
    Posted 1 year ago #

    WordPress version: 3.4.2
    WordPress SEO version: 1.2.8.7

    I edited categories and custom taxonomies and after saving them they were excluded from the sitemap.

    It could be a wrong validation when "noindex" term is validated in the sitemap class.
    It is checking if ( wpseo_get_term_meta( $c, $c->taxonomy, 'noindex' ) && wpseo_get_term_meta( $c, $c->taxonomy, 'sitemap_include' ) != 'always')
    And if i'm not wrong it should be
    if ( wpseo_get_term_meta( $c, $c->taxonomy, 'noindex' ) == 'noindex' && wpseo_get_term_meta( $c, $c->taxonomy, 'sitemap_include' ) != 'always' )

    The same is happening when you edit "Meta Robots Index" in posts/pages.

    http://wordpress.org/extend/plugins/wordpress-seo/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.