[wp-trac] [WordPress Trac] #62760: Noindex URLs when they render unapproved comments
WordPress Trac
noreply at wordpress.org
Sun Jan 5 22:12:41 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 | Focuses:
--------------------------+----------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"59576" 59576]:
{{{
#!CommitTicketReference repository="" revision="59576"
Comments: Noindex pages containing unapproved comments.
Adds a `noindex` directive to pages displaying a preview of an unapproved
comment, ie pages with both an `approved` and `moderation-hash` parameter.
This is to prevent the pages from appearing in search engines which can be
the case if they ignore the canonical URL directive.
Props peterwilsoncc, flixos90, joostdevalk.
Fixes #62760.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62760#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list