Support » Plugin: Google XML Sitemaps » How to Remove NoIndex Woocommerce Pages from Sitemap

  • JDTravel

    (@jdtravel)


    Hi,
    I have a Woocommerce Affiliate Site with 620 product pages and I set these pages to noindex in Yoast due to duplicate content. I’ve now added unique content to around 40 of these pages and set them to ‘index’ using the override setting.

    I originally used the Yoast XML sitemap and idealy I wanted just the 40 pages to appear in the Yoast product pages sitemap but I found that all 620 pages appeared.

    I tried the ‘Google XML Sitemap’ plugin hoping that it would exclude the no indexed pages but it includes them the same as the Yoast Sitemap.

    Is there any way that I can create a sitemap that excludes Product pages that have the NoIndex directive set.

    Thanks
    John

Viewing 1 replies (of 1 total)
  • I also want to exclude all NoIndex pages and posts from the sitemap. Any help on how to accomplish that would be highly appreciated!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.