WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 18 months ago

#22876 closed defect (bug)

Wrong robots meta output — at Initial Version

Reported by: joostdevalk Owned by:
Milestone: 3.8 Priority: high
Severity: major Version: 3.3
Component: Template Keywords: has-patch needs-testing
Focuses: Cc:

Description

in default-filters.php, we add a new action:

`if ( isset( $_GETreplytocom? ) )

add_action( 'wp_head', 'wp_no_robots' );`

the issue is, wp_no_robots outputs noindex, nofollow. The noindex is fine, the nofollow stops any link equity from that URL, so that's actually a bad idea. Just noindex alone would be fine. Setting to priority high and severity to major as this is basically a regression.

Change History (0)

Note: See TracTickets for help on using tickets.