{"id":13227989,"date":"2020-08-09T09:23:51","date_gmt":"2020-08-09T09:23:51","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/cpt-missing-from-sitemap\/"},"modified":"2020-08-09T09:23:51","modified_gmt":"2020-08-09T09:23:51","slug":"cpt-missing-from-sitemap","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/cpt-missing-from-sitemap\/","title":{"rendered":"CPT missing from sitemap"},"content":{"rendered":"<p>Hi, I have a CPT called &#8216;discover&#8217; with the following settings:<\/p>\n<p>public: true<br \/>\npublicly_queryable: true<\/p>\n<p>In Yoast &gt; Search Appearance &gt; Content Types, I have enabled Show in search results for this CPT.<\/p>\n<p>All the CPT posts are published, public, with the individual settings set as default (allow indexing).<\/p>\n<p>Yet my sitemap_index.xml does NOT contain the link to the discover-sitemap.xml (which does not exist anyhow).<\/p>\n<p>I have the latest version of the Yoast plugin and WP, I have several other CPTs as they all work fine and appear in the sitemap.<\/p>\n<p>I am not using any cache plugins.<\/p>\n<p>Can you please tell me what should I do to put the CPT back into the sitemap?<\/p>\n<p>Thank you!<\/p>\n","protected":false},"template":"","class_list":["post-13227989","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13227989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13227989\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13227989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}