{"action":"closed","issue":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4140","repository_url":"https://api.github.com/repos/Yoast/wordpress-seo","labels_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4140/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4140/comments","events_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4140/events","html_url":"https://github.com/Yoast/wordpress-seo/issues/4140","id":140039408,"number":4140,"title":"Creating sitemaps for non-public taxonomies","user":{"login":"stodorovic","id":15647032,"avatar_url":"https://avatars.githubusercontent.com/u/15647032?v=3","gravatar_id":"","url":"https://api.github.com/users/stodorovic","html_url":"https://github.com/stodorovic","followers_url":"https://api.github.com/users/stodorovic/followers","following_url":"https://api.github.com/users/stodorovic/following{/other_user}","gists_url":"https://api.github.com/users/stodorovic/gists{/gist_id}","starred_url":"https://api.github.com/users/stodorovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stodorovic/subscriptions","organizations_url":"https://api.github.com/users/stodorovic/orgs","repos_url":"https://api.github.com/users/stodorovic/repos","events_url":"https://api.github.com/users/stodorovic/events{/privacy}","received_events_url":"https://api.github.com/users/stodorovic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/acceptance","name":"acceptance","color":"78BDF2"},{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/xml%20sitemap","name":"xml sitemap","color":"006b75"}],"state":"closed","locked":false,"assignee":{"login":"terw-dan","id":11272096,"avatar_url":"https://avatars.githubusercontent.com/u/11272096?v=3","gravatar_id":"","url":"https://api.github.com/users/terw-dan","html_url":"https://github.com/terw-dan","followers_url":"https://api.github.com/users/terw-dan/followers","following_url":"https://api.github.com/users/terw-dan/following{/other_user}","gists_url":"https://api.github.com/users/terw-dan/gists{/gist_id}","starred_url":"https://api.github.com/users/terw-dan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terw-dan/subscriptions","organizations_url":"https://api.github.com/users/terw-dan/orgs","repos_url":"https://api.github.com/users/terw-dan/repos","events_url":"https://api.github.com/users/terw-dan/events{/privacy}","received_events_url":"https://api.github.com/users/terw-dan/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-03-10T23:31:02Z","updated_at":"2016-03-30T11:41:22Z","closed_at":"2016-03-30T11:41:22Z","body":"We had before some taxonomies (product attributes in Woocommerce) marked as public. Now, we marked them as private (without archives, etc...). They are disappaered from sitemap_index.xml. But, they are accessable trough direct URLs:\r\n\r\nhttp://xxxxxxxxx/pa_dimensions-sitemap.xml\r\n\r\nWe had before some taxonomies (product attributes in Woocommerce) marked as public. Now, we marked them as private (without archives, etc...). They are dissapeared  from sitemap_index.xml. But, they are accessable trough direct URLs:\r\n\r\nhttp://xxxxxxxxx/pa_dimensions-sitemap.xml\r\n\r\n![pa_dimensions_sitemap](https://cloud.githubusercontent.com/assets/15647032/13688180/558da966-e720-11e5-8025-24365afb2e7f.jpg)\r\n\r\nI created pull request ( [https://github.com/Yoast/wordpress-seo/pull/4139](https://github.com/Yoast/wordpress-seo/pull/4139) ) with new function which check is it public custom taxonomy and blocks creating of this sitemap. "}}