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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It's intentional, see #22876.