Closed bjfletcher closed 5 years ago
I'm not sure what the effect of this will be as apps may already declare a robots tag themselves, e.g. https://github.com/Financial-Times/next-article/blob/62da871e473537ce0860099e31c3553cce1d833f/views/content.html#L5-L7
I don't know if it's valid to have both or what will happen when the values contradict as above.
@i-like-robots Google says it should be ok:
If the page contains multiple meta tags of the same type, we will aggregate the content values. For instance, we will interpret
<META NAME="ROBOTS" CONTENT="NOINDEX">
<META NAME="ROBOTS" CONTENT="NOFOLLOW">
The same way as:
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
If content values conflict, we will use the most restrictive. So, if the page has these meta tags:
<META NAME="ROBOTS" CONTENT="NOINDEX">
<META NAME="ROBOTS" CONTENT="INDEX">
We will obey the NOINDEX value.
Google has introduced new robots meta tag attributes, specifically
max-snippet
andmax-image-preview
. These settings will hopefully improve our SEO performance.See the Google doc for more on these attributes.
Talk to me, Matt Bailey (Product Manager) or James Webb if you have any questions about this.
Page Kit PR for the future: https://github.com/Financial-Times/dotcom-page-kit/pull/618