[wp-trac] [WordPress Trac] #38105: wp_no_robots() should instruct robots to *not* follow links

WordPress Trac noreply at wordpress.org
Tue Sep 20 12:56:53 UTC 2016


#38105: wp_no_robots() should instruct robots to *not* follow links
--------------------------+-----------------------------
 Reporter:  tomdxw        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.6.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38105>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list