WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
XML Sitemap default behavior should be changed (1 post)

  1. jtwg
    Member
    Posted 1 year ago #

    This is a great plugin, so thanks for that, but it has an annoying feature that if not monitored closely can cause a site's number of 404s to rise dramatically. The default behavior of this plugin is to include all registered custom post types and taxonomies in the XML sitemaps unless you specifically exclude them. I would argue that it makes more sense to only include the default WordPress post types and taxonomies, and instead only include custom post types if they're explicitly included.

    Another alternative might be to have a flag set by the site administrator in the plugin's preferences allowing for the admin to choose whether or not to automatically include all registered custom post types and taxonomies in their sitemaps.

    As WordPress gains in popularity as a CMS then there will be a lot more people using the custom post types as a way of managing content that's never meant to be directly accessible.

    At the very least there should be a prominent notification accompanying the plugin letting people know about this behavior.

    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.