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

WordPress Trac noreply at wordpress.org
Mon Feb 27 21:38:21 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:  Awaiting Review
Component:  Sitemaps      |    Version:  5.5
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 It looks like this should be avoided: If there are no posts in the WP
 installation (only pages), the `wp-sitemap.xml` still contains the author
 archive. And if you follow the link, you get a 404 error.

 This couldn't make sense for SEO ...

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


More information about the wp-trac mailing list