• Resolved SRD75

    (@srd75)


    We have a CPT called “templates” which have a taxonomy called “categories”.

    The template categories are part of the sitemap index:
    https://mandoemedia.com/templatecategory-sitemap.xml

    We don’t use the template category archive pages on the front-end. The categories are purely for grouping on complex WP pages.

    If I visit Search Appearance > Archives, (/wp-admin/admin.php?page=wpseo_titles#top#archives), I see Template Categories are not visible to make them indexable or not.

    How do I make Template Categories not indexable, so they’re removed from the sitemap?

    Is there a programmatic way to do so in functions.php?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Exclude custom post type archive from the sitemap’ is closed to new replies.