• Resolved TwoBrands BV

    (@webworkx)


    We have a website with 2 cpt’s but only one of them is showing up in the sitemap_index.xml
    Settings in contenttypes are correct and the same.

    the cpt that is not showing has no archive but further they are the same.

    The index of 1 cpt is showing up in the sitemap_index.xml
    The other cpt sitemap that is not available in sitemap_index.xml is created, because we can load it by typing slugname-sitemap.xml

    What goes wrong?
    Thanks!

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

    (@mikes41720)

    Please try to locate the CPT in your admin dashboard > SEO (sidebar) > Search Appearance. If you set it to show in the search results, it should automatically be included in the XML Sitemap Index. If you set it to not show in the search results, it will be excluded from the XML Sitemap Index and will get a ‘noindex’ tag.

    You can refer to this article for more information — https://kb.yoast.com/kb/how-to-customize-the-sitemap-index/

    Thread Starter TwoBrands BV

    (@webworkx)

    Thanks for the reply,
    ofcourse that is the first place to check, but yes it is set to show.

    both cpts are…

    But only 1 was showing up in de sitemap_index.xml

    I saved the settings a couple of times and removed cache and now its working again!

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CPT not showing up in sitemap index’ is closed to new replies.