Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#38105 closed defect (bug) (invalid)

wp_no_robots() should instruct robots to *not* follow links

Reported by: tomdxw's profile tomdxw Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.6.1
Component: General Keywords:
Focuses: Cc:

Description

If a page is not meant to be public then the expectation would be that robots would be instructed not to index the page, and not to follow links.

However, the wp_no_robots() function instructs robots to follow links within the page (it uses follow instead of nofollow):

https://developer.wordpress.org/reference/functions/wp_no_robots/

Is this intentional or a typo?

Change History (1)

#1 @SergeyBiryukov
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

It's intentional, see #22876.

Note: See TracTickets for help on using tickets.