• Resolved Gauri

    (@goldengalaxy)


    Hi Team,

    How to mark child categories noindex? Also how to remove them from Sitemap?
    Can we get a single sitemap with all the links instead of different sitemaps for posts and categories?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @goldengalaxy

    If you want to set a particular category to noindex, you can follow the steps in the article here – https://yoast.com/help/how-do-i-noindex-urls/

    Once it has been set to not show in the search results (which adds a ‘noindex’ meta robots tag), it should also be removed from the Yoast SEO sitemap accordingly.

    The Yoast SEO sitemap is generated under /sitemap_index.xml and all of the sub-sitemaps are listed based on post type and taxonomy. This also splits the sitemap entries and ensures a clear site structure. If you would like to make any customizations to the sitemap to fit your needs, you can refer to this article for all possible customizations – https://yoast.com/help/how-to-customize-the-sitemap-index/

    Thread Starter Gauri

    (@goldengalaxy)

    Hi Michael,

    Thank you for your response. I did follow the article and the steps in it. It only removed the child category links from the sitemap but it did not add noindex to the pages.

    I will try to use the add_filter for modifying sitemap and let you know shortly.

    Plugin Support devnihil

    (@devnihil)

    @goldengalaxy Can you please provide us with a link to one of the child category URLs so we can check into this further?

    Thread Starter Gauri

    (@goldengalaxy)

    Hi,
    I have not added this plugin to production yet. I am trying it on dev first.

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    If you’ve set the child category to not show in the search results as per the article here, we would expect that it would have a meta robots tag of ‘noindex’ in the page source and it would be removed from the XML sitemap.

    If that isn’t the expected result, there might be a plugin or theme conflict.

    Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict, is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty.

    Please test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.

    If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts

    If you do not feel comfortable to do this yourself or if this does not solve your issue, our Yoast SEO Premium plugin comes with one year of (technical) support.

    • This reply was modified 3 years, 6 months ago by Michael Ti?a.
    Plugin Support Jerlyn

    (@jerparx)

    Hi @goldengalaxy

    We’re closing this thread as there seem no further questions from you. Please feel free to open a new thread should you have further concerns.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No index child categories’ is closed to new replies.