Meta Keywords
The old keywords tag has no effect on indexing or ranking. Google ignores it completely.
Home / SEO Tips / Meta Tags And Noindex
SEO Tips
Meta tags are short notes in your page code that tell Google how to treat a page. Most are harmless, a few are ignored, and one, noindex, can quietly take a page out of Google altogether. This guide explains every tag Google supports, the ones it ignores, and how to use noindex safely.
Every web page has a hidden top part called the head. Visitors never see it, but it holds the page title, the description, the robots rules and other notes for browsers and search engines. Google calls this information page metadata, and the head is the main place it looks for it.
Google's first rule is simple: write the head in valid HTML. Google does try to make sense of messy code, but mistakes can change how your metadata is used. The HTML standard allows only eight kinds of element inside the head:
title, the page title.meta, for descriptions, robots rules and similar notes.link, for things such as canonical tags and stylesheets.script and noscript, for code and its fallback.style, for page styling.base, which sets the starting address for links.template, for reusable chunks of markup.Anything else, most often an iframe or an img, is not allowed there. Here is the catch: when Google finds an element that does not belong, it treats that spot as the end of the head and stops reading. Every tag after it is ignored. A tracking pixel or a chat widget pasted near the top can therefore hide your robots rule, your canonical tag and your description from Google.
What this means for you: keep the head tidy. If a plugin or a third-party script must add an image or iframe up there, make sure it sits after the tags you need Google to read. A free website audit is a quick first look at how a page is set up, and technical SEO work covers checking the head on every template.
Every part of the SEO tips, on one map. The page you are reading is highlighted.
A meta tag is a line in the head that gives extra information about the page. Search engines and browsers simply ignore tags they do not understand. Here is an example of a small but sensible head section:
<meta charset="utf-8">
<meta name="description" content="Hand-made oak tables, made to order.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Oak Tables Made To Order</title>
These are the tags Google says it supports, and what each one does:
| Tag | What it does | Worth knowing |
|---|---|---|
| description | A short summary of the page. | Google may use it for the snippet under your result. |
| robots / googlebot | Indexing rules, such as noindex. | "robots" speaks to all search engines; "googlebot" only to Google. |
| notranslate | Stops Google offering a translated version of your result. | Useful if a translation would mislead. |
| nopagereadaloud | Stops Google's text-to-speech tools reading the page aloud. | Set with name="google". |
| google-site-verification | Proves you own the site in Search Console. | Goes on your home page; name and content must match exactly. |
| charset / Content-Type | Says which character set the page uses. | Google recommends UTF-8; quote the value. |
| refresh | Sends visitors to another address after a delay. | Google prefers a proper server redirect instead. |
| viewport | Tells phones how to size the page. | Its presence signals a phone-friendly page. |
| rating | Labels a page for SafeSearch filtering. | Only for pages that genuinely need it. |
Two of these deserve a closer look. The refresh tag can confuse visitors and is not supported by every browser, which is why Google points you to server-side redirects and how Google treats each type. The viewport tag matters because Google indexes the phone version of your site first, as explained in the mobile-first indexing guide.
What this means for you: a good page usually needs only a handful of these: charset, viewport, title, description, and a canonical link. I set these on every page of every new build, so they are right from launch day.
Plenty of tags still float around old websites and SEO checklists that Google no longer uses. You can leave them in place, but they do nothing for you in Google Search:
The old keywords tag has no effect on indexing or ranking. Google ignores it completely.
Google works out a page's language from the words on it, not from the lang attribute in your code.
Links marked rel="next" and rel="prev" used to group page series. They no longer affect indexing.
The tag to switch off the sitelinks search box is obsolete, because that search box no longer exists.
Google also lists some general points that are easy to get wrong:
Google also reads a few attributes on normal page tags. The src and href attributes help it find images and pages, and rel values let you describe links to other sites, which the URL structure and links guide covers. The data-nosnippet attribute, explained below, hides chosen text from snippets.
What this means for you: if an old SEO report tells you to fill in meta keywords, you can safely skip that job. Spend the time on titles and descriptions that earn the click instead.
The robots meta tag tells search engines whether to index a page and how to show it. With no tag at all, the default is "index, follow", so you never need to write that out. Rules can be combined, and capital letters do not matter. Other search engines may read some rules differently from Google.
| Rule | What Google does |
|---|---|
| all | No limits. This is the default, so writing it changes nothing. |
| noindex | Keeps the page, image or file out of search results. |
| nofollow | Does not follow the links on the page to find new pages. |
| none | Short for noindex plus nofollow. |
| nosnippet | No text snippet or video preview, including in AI Overviews and AI Mode. A small still image may still show. |
| indexifembedded | Lets content shown inside another page's iframe be indexed, even with noindex. Only works alongside noindex. |
| max-snippet:[number] | Caps the snippet at that many characters. 0 means no snippet; -1 lets Google choose. |
| max-image-preview:[setting] | Sets the image preview size: none, standard or large (up to the screen width). |
| max-video-preview:[number] | Caps video previews at that many seconds. 0 allows a still image at most; -1 means no limit. |
| notranslate | No translated title or snippet is offered. |
| noimageindex | Images on this page are not indexed from it. |
| unavailable_after:[date] | Drops the page from results after that date, and Google crawls it less from then on. Use a standard date format. |
Google ignores three older rules: noarchive (the cached page link it controlled is gone), nocache and nositelinkssearchbox. If a number or date is not valid, Google ignores that rule rather than guessing.
What this means for you: most pages need no robots tag at all. A good default for pages you want found is to allow large image previews, because that helps your result stand out. Use noindex for thank-you pages, test pages and private areas, never by accident on pages you want customers to find.
The robots tag goes in the head of the page, like this:
<meta name="robots" content="noindex, nofollow">
If you write name="robots", every search engine that supports it will follow the rule. To speak only to Google, use one of the two names Google accepts: googlebot for normal text results, or googlebot-news for news results. Any other name is ignored by Google. You can add several tags to set different rules for different crawlers. This tag only covers search crawlers; other Google crawlers, such as the one that checks adverts, need their own named tag.
If two rules disagree, Google follows the stricter one. If one tag says max-snippet:50 and another says nosnippet, you get no snippet. If a general tag says nofollow and a googlebot tag says noindex, Google applies both. You can write rules as a comma-separated list or as separate tags, one rule each.
A PDF, image or video has no head to put a tag in. For those, the server sends the same rules in an HTTP header called X-Robots-Tag. Every rule from the table works there:
X-Robots-Tag: noindex
You can name a crawler first, such as googlebot: nofollow, and anything without a name applies to all crawlers. Headers are not case-sensitive. The easiest way to set them is in the server settings, which can apply a rule to every PDF or every image at once. On Apache that means the .htaccess or main configuration file; on NGINX, the site's configuration file. A rule for a single file in .htaccess must sit in the same folder as that file.
What this means for you: if old price lists or forms in PDF format keep turning up in search, an X-Robots-Tag rule on PDF files is the clean answer. It is a small server change that sits naturally inside managed hosting or a website care plan.
Sometimes you are happy for a page to be found but not for one bit of it to appear as the snippet, such as a cookie notice, a delivery warning or a block of small print. The data-nosnippet attribute handles this:
<div data-nosnippet>Delivery times may be longer this month.</div>
span, div and section tags. Made-up tag names do not count.div can stretch the hidden area over the rest of the page.Snippet limits mostly control text Google pulls from your page automatically. Structured data is treated differently: a recipe or product in structured data can still appear in a rich result even when text previews are limited. The exception is description fields inside article-style structured data, which max-snippet does limit. To stop structured data being used, change or remove the structured data itself. It still works even if it sits inside a data-nosnippet block.
What this means for you: data-nosnippet is a neat fix when Google keeps quoting a banner instead of your real opening paragraph. Google's own advice for a temporary banner is to mark it this way, so it never becomes the text people see in results.
Noindex is the right tool when a page must stay online but should not appear in Google, for example a thank-you page, a members' area or a test copy of your site. When Google sees the rule, it drops the page from results even if other sites link to it. It is especially handy if you cannot change server settings, because you control it page by page. Google does not support noindex inside robots.txt, so it must be a meta tag or a header.
The page must not be blocked in robots.txt. If it is, Google never sees the noindex rule and the page can stay listed through links. The robots.txt guide shows how to check.
Use a robots meta tag for all search engines, a googlebot tag for Google only, or an X-Robots-Tag header for files. In WordPress or a builder, look for the search settings.
Google must recrawl the page to see the change, which can take months for quiet pages. Use the URL Inspection tool to view the code Google got and request a fresh crawl.
Search Console's Page Indexing report lists every page where Google found a noindex rule. Check it after launches to catch noindex left on by mistake.
The classic mistake is leaving noindex switched on after a new site goes live, because it was used to hide the test version. The other is blocking a page in robots.txt and adding noindex, so the rule is never read. Both are on the search settings checks in the launch checklist, and in how Googlebot crawls your site. If a page must disappear from Google quickly, noindex alone is too slow; read how to hide a page fast with Search Console. For duplicates of the same page, a canonical tag is usually a better choice than noindex. All the other topics are on the SEO Tips map.
Based on Google Search Central documentation: Use valid HTML to specify page metadata, Meta tags and attributes that Google supports, Robots meta tag, data-nosnippet, and X-Robots-Tag specifications, Block Search indexing with noindex. Licensed under CC BY 4.0. Rewritten in plain English by Willis Web Design; last checked 13 October 2026.
Questions
No. Google says plainly that the keywords meta tag has no effect on indexing or ranking. It is ignored. You can leave an old one in place without harm, but there is no point adding one or spending time on it. Put that effort into the page title, the description and the words on the page itself, which people and Google actually read.
Google only sees the noindex rule when it next crawls the page, and for less important pages that can take months. Check that robots.txt is not blocking the address, because then Google never sees the rule at all. Then use the URL Inspection tool in Search Console to look at the code Google received and ask for the page to be crawled again.
Use noindex if you want a page kept out of search results. A robots.txt block only stops crawling, and a blocked page can still show up in results if other pages link to it. Never do both on the same page: the robots.txt block hides the noindex rule from Google, so the rule is never read and the page can stay listed.
Usually, yes. WordPress and most website builders often hide the page code but offer a search engine settings screen or an SEO plugin that writes the tags for you. Search for your platform's name plus 'add meta tags' to find the right screen. On a hand-built site, I add them straight into the page template.
Google says nosnippet stops a page's text and video previews from being shown on its search surfaces, including AI Overviews and AI Mode, and stops the content being used as a direct input for those AI features. The page can still be indexed and listed with a title. Think hard before using it, because a result with no snippet gives people little reason to click.
Mostly not. Google says letter case does not matter for meta tags in general, and HTML and XHTML styles are both read. The one exception is the Search Console verification tag, where the name and content must match exactly, capitals included. If that one is copied wrongly, verification fails and you lose access to your search data.
Next step
See where your website stands, free.
Run a free test of your current site, or call me for a straight answer about what you need.