Change `nofollow` to `follow` in `wp_robots_noindex()`. "The noindex is fine, the nofollow stops any link equity from that URL, so that's actually a bad idea."
Props joostdevalk. Fixes #22876. Built from https://develop.svn.wordpress.org/trunk@26096 git-svn-id: http://core.svn.wordpress.org/trunk@26011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2e0af4405e
commit
d7efe7a3b0
|
@ -1785,7 +1785,7 @@ function noindex() {
|
||||||
* @since 3.3.0
|
* @since 3.3.0
|
||||||
*/
|
*/
|
||||||
function wp_no_robots() {
|
function wp_no_robots() {
|
||||||
echo "<meta name='robots' content='noindex,nofollow' />\n";
|
echo "<meta name='robots' content='noindex,follow' />\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue