[wp-trac] [WordPress Trac] #62760: Noindex URLs when they render unapproved comments

WordPress Trac noreply at wordpress.org
Wed Jan 8 01:17:47 UTC 2025


#62760: Noindex URLs when they render unapproved comments
-----------------------------------+----------------------------
 Reporter:  joostdevalk            |       Owner:  peterwilsoncc
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  6.8
Component:  Comments               |     Version:
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+----------------------------

Comment (by peterwilsoncc):

 Replying to [comment:12 joostdevalk]:
 > It's still true, ideally we'd remove the canonical in this case. But
 `noindex` does usually override `canonical`.

 It may be worth a follow up ticket to consider whether `rel_canonical()`
 should check the `wp_robots` filter to see if a url is noindexed.

 But if you're not overly concerned, neither am I.

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


More information about the wp-trac mailing list