../courses.php
HEAD
HEAD104
90
Robots And Indexing
Tell search engines whether a page should appear in search results.
How does the head give indexing instructions?
Robots meta tags tell search engines whether to index a page and whether to follow links from that page.
After page identity, mobile setup, and canonical URL, the next question is whether search engines should show the page at all.
Most public learning pages should be indexable. But some pages should stay out of search results, such as login pages, thank-you pages, test pages, and duplicate utility pages.
The robots meta tag is placed in the head because it gives instructions to search engines before they decide what to do with the page.
Use this carefully. A wrong
noindex
can remove an important page from search.
Robots instructions in the head
<head>
<title>Jit HEAD - Learn The HTML Head</title>
<meta name="description" content="Learn practical HTML head tags for search, sharing, and browser setup.">
<meta name="robots" content="index,follow">
<meta name="googlebot" content="index,follow">
</head>
name="robots"
targets search engine crawlers generally.
content="index,follow"
means the page may appear in search and links may be followed.
noindex
asks search engines not to show the page in search results.
nofollow
asks search engines not to follow links on the page.
googlebot
is a Google-specific version. Use it only when you need Google-specific behavior.
Search control
You can tell search engines which pages belong in results.
Launch safety
Test pages can stay out of search while you build.
Cleaner site quality
Search engines see the pages that matter most.
Risk awareness
Wrong robots tags can hide pages that should be public.
Dangerous copied setting
<meta name="robots" content="noindex,nofollow">
Normal public page setting
<meta name="robots" content="index,follow">
Ask ChatGPT: "Should this page be indexed or noindexed based on its purpose?" Then make the final decision yourself.
Choose a page that should be public in search.
Add
<meta name="robots" content="index,follow">.
Choose a page that should not appear in search.
Explain why
noindex
would be appropriate or not appropriate.
Check that no important live page accidentally has
noindex.
Copying
noindex
from a test page to a live page.
Thinking robots tags protect private data. They do not replace login security.
Adding conflicting robots instructions.
Noindexing pages you actually want found.
Forgetting to remove noindex before launch.
Use robots meta tags to explain whether search engines should index a page and follow its links.
Login - Jit4All
Login
Welcome back to Jit4All