WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#38105 closed defect (bug) (invalid)

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

Reported by: 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
4 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.