Closed spelkey-ucd closed 8 months ago
is_archive does not return true for the news posts archive page, so should also test for is_home, which is confusingly named...
is_archive
is_home
https://developer.wordpress.org/reference/functions/is_home/
This would apply to:
Since these pages do not have a canonical link tag, Google will index any query parameter permutation separately.
also, put in follow => false
follow
Added v3.6.0
is_archive
does not return true for the news posts archive page, so should also test foris_home
, which is confusingly named...https://developer.wordpress.org/reference/functions/is_home/
This would apply to:
Since these pages do not have a canonical link tag, Google will index any query parameter permutation separately.