On August 26th, 2021, Google, on its Search Central Twitter channel, tweeted a question that they were asked.
Their answer came in the form of a video:
Youâve Seen Snippets Before
When you look at a search engine result, a snippet is the black text thatâs under the blue links that denote each result.
But, What If You Donât Want Something Shown On Search?
Thatâs the whole trust of this news item. Well, now you have 3 options for this, and you can read Googleâs official documentation here. These 3 options can be classified into 2 types: page- and text-level.
Option #1 of 3: Robots Meta Tag (A Page-Level Option)
With this option, you simply place a robots meta tag in the <head> portion of the page.
Option #2 of 3: X-Robots Tag HTTP Header (A Page-Level Option)
This is where you place a tag in the HTTP header response option of a given URL.
Option #3 of 3: X-Robots-Tag HTTP Header (A Text- or Sub-Page Option)
This is where you designate certain portions of an HTML page to not be in the search results.
So, currently, those are your 3 for doing this. Keep in mind that Google will have to re-crawl your pages to see any changes youâve made (and be sure youâve coded them in properly).
Hopefully, CMSs like WordPress will come up with updates (or hopefully, people will release plugins), that help people perform these changes without having to worry about code.