Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#38105 closed defect (bug) (invalid)

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

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

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
10 years ago

  • Milestone Awaiting Review
  • Resolution → invalid
  • Status new → closed

It's intentional, see #22876.

Note: See TracTickets for help on using tickets.