# Set Robots Meta Directives Correctly

Ensure HTML pages are indexed properly by setting the correct robots meta tags to avoid ranking losses and improve SEO. The deliverable is a validated set of robots meta tags across all HTML pages.

**Canonical URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-robots-meta-591ec4c5ed9e

**JSON URL:** https://skillshunter.net/api/public/v1/skills/github-thedaviddias-front-end-checklist-skills-robots-meta-591ec4c5ed9e

**Markdown URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-robots-meta-591ec4c5ed9e.md

**Instructions download URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-robots-meta-591ec4c5ed9e/download

**Category:** Content & Editorial

**Source URL:** https://github.com/thedaviddias/Front-End-Checklist/blob/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e/skills/robots-meta/SKILL.md

**Source commit:** e8d14d049010e2ce25afcd5e8609dfcbbe63e47e

**Listing approved at:** 2026-11-24

**Created at:** 2026-11-23T05:28:29.000000Z

**Updated at:** 2026-11-24T07:12:32.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Before applying changes, verify that the `noindex` directive is intentional for pages that should not appear in search results. Confirm that staging and production environments have consistent robots meta tags.

### When to use it

- Audit all HTML pages to ensure robots meta tags are correctly set for indexing.
- Fix pages that have accidentally been marked as noindex and are missing from search results.
- Verify staging and production environments have consistent robots meta tags.

## Skill instructions

---
name: robots-meta
description: "Use when applies to all HTML pages. Use when auditing pages that have disappeared from search results or when checking staging vs. production meta tag parity."
metadata:
  category: seo
  priority: high
  difficulty: beginner
  estimatedTime: "10"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/seo/robots-meta
---

# Set robots meta directives correctly

An accidental `noindex` on a key landing page silently removes it from search results; audit every page's robots directive to avoid invisible ranking losses.

## Quick Reference

- Place `<meta name="robots" content="...">` in `<head>` to control indexing per-page
- Use `noindex` only on pages that should not appear in search results
- Avoid `noindex, nofollow` on pages you want crawled for PageRank flow
- Crawler-specific tags (`googlebot`, `bingbot`) override the generic `robots` tag for that crawler

## Check

Inspect `<head>` for `<meta name="robots" content="...">`. Verify the content value is intentional (e.g., production pages should not have `noindex`). Check for conflicting `googlebot`-specific tags.

## Fix

Remove or update the `noindex` directive from pages that should appear in search results. For pages that must be blocked, confirm `noindex` is intentional. Remove duplicate or conflicting robots meta tags.

## Explain

Explain the difference between robots.txt and meta robots, when each should be used, and why `noindex` combined with `follow` still allows link equity to flow.

## Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Set robots meta directives correctly. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/seo/robots-meta

