Opened 5 months ago

Last modified 5 months ago

#22876 new defect (bug)

Wrong robots meta output — at Version 2

Reported by: joostdevalk Owned by:
Priority: high Milestone: Awaiting Review
Component: Template Version: 3.5
Severity: major Keywords:
Cc:

Description (last modified by joostdevalk)

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

if ( isset( $_GET['replytocom'] ) )
	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 (2)

  • Description modified (diff)
  • Description modified (diff)
Note: See TracTickets for help on using tickets.