[wp-trac] [WordPress Trac] #57816: WordPress shows author archive in sitemap even if there are no posts

WordPress Trac noreply at wordpress.org
Tue Jun 20 06:52:41 UTC 2023


#57816: WordPress shows author archive in sitemap even if there are no posts
-------------------------------------+-----------------------------
 Reporter:  zodiac1978               |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Sitemaps                 |     Version:  5.5
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:
-------------------------------------+-----------------------------
Changes (by zodiac1978):

 * keywords:  needs-patch => needs-patch 2nd-opinion


Comment:

 Replying to [comment:4 swissspidy]:
 > That said, the author archive for a user with no published posts returns
 a 200 status (albeit an empty page), not a 404. So... not sure if that
 needs to be changed at all 🤷‍♂️

 Yes, that's true. But still not very helpful to report an empty page to
 Google, or not?

 > Edit: also, what happens if a site actually does show pages in author
 archives too?

 I'm not sure if an edge case like this should stop us fixing this for the
 99% others.

 But I'm just looking at my installations and the missing UI to disable the
 sitemap with no real content.

 If you think this is technically correct and needs no fixing, then we can
 close it. From a UX point of view, I'm still finding this very confusing.

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


More information about the wp-trac mailing list