{"id":2349,"date":"2026-10-20T08:32:18","date_gmt":"2026-10-20T07:32:18","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/remove-location-pages-yoast-sitemap\/"},"modified":"2026-10-20T08:39:57","modified_gmt":"2026-10-20T07:39:57","slug":"remove-location-pages-yoast-sitemap","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/location-manager\/remove-location-pages-yoast-sitemap\/","title":{"rendered":"How to remove GeoDirectory location pages from the Yoast SEO sitemap"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Sitemaps with names like <code>gd_location_full-sitemap.xml<\/code> or <code>gd_placecategory_location_country-sitemap.xml<\/code> come from the GeoDirectory Location Manager add-on, not from Yoast. They list your location pages, and your category pages combined with each location. Turn them on or off in GeoDirectory&#8217;s settings, not in Yoast.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Choose which location sitemaps to include<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to GeoDirectory &gt; Settings &gt; Locations and find the sitemap settings. They only appear while Yoast SEO is active.<\/li>\n\n\n\n<li>Turn on the options for the sitemaps you want to hide. There are separate options for location pages, post type pages with a location, category pages with a location, and tag pages with a location. There&#8217;s also an option to add neighbourhood pages.<\/li>\n\n\n\n<li>Save the settings, then reload your Yoast sitemap index to check the result.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If the old sitemap still shows, clear any page cache. Yoast also caches its sitemaps, and re-saving its settings refreshes them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Other GeoDirectory sitemaps<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The normal listing and category sitemaps, such as <code>gd_place-sitemap.xml<\/code> and <code>gd_placecategory-sitemap.xml<\/code>, come from Yoast itself. To leave them out, use Yoast&#8217;s settings for that post type or taxonomy and set it not to show in search results.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To stop search engines indexing some GeoDirectory pages at all, see <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/tips-tricks-more\/no-index-directives-on-all-or-some-gd-pages\/\">No index directives on all or some GD pages<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sitemaps with names like gd_location_full-sitemap.xml or gd_placecategory_location_country-sitemap.xml come from the GeoDirectory Location Manager add-on, not from Yoast. They list your location pages, and your category pages combined with each location. Turn them on or off in GeoDirectory&#8217;s settings, not in Yoast. Choose which location sitemaps to include If the old sitemap still shows, clear any [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[213,425],"class_list":["post-2349","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-extensions-features","gd_placecategory-location-manager"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2349"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2349\/revisions"}],"predecessor-version":[{"id":2410,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2349\/revisions\/2410"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2349"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2349"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}