[wp-trac] [WordPress Trac] #59998: Hide terms from XML sitemap that have only one object in them

WordPress Trac noreply at wordpress.org
Wed Sep 18 04:10:29 UTC 2024


#59998: Hide terms from XML sitemap that have only one object in them
-------------------------+------------------------------
 Reporter:  joostdevalk  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Sitemaps     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by chaos1):

 I've been working with a WordPress theme and used the demo content to
 speed run on how to build out templates, posts, pages, and custom post
 types on Elementor.

 While I was setting up a Google Ads campaign, it suggested landing pages
 that I had no idea was visible. It turns out Google Ads grabbed the
 sitemaps.xml page and made suggestions based off of that.

 I discovered all the demo content was exposed to the internet, set it all
 to drafts, but still see custom post types that shouldn't be in my
 sitemaps.xml, along with administrative level user that shouldn't be
 displayed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59998#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list