Poradnik: Noindex
Noindex zachowuje a strona out of wyniki wyszukiwania — ale tylko if Google może crawl it. The two prawidłowy metody, the robots.txt trap, i how to verify it worked.
Języki
Noindex jest the directive że zachowuje a strona out of the index, so it won't appear in wyniki wyszukiwania. There są two prawidłowy ways to ustawić it: the robots meta znacznik (`<meta name="robots" content="noindex">`) i the `X-Robots-Tag: noindex` HTTP header (the tylko option dla non-HTML files like PDFs). The single biggest mistake: a strona blocked in robots.txt może't być noindexed, ponieważ Google nigdy crawls it to see the reguła — so to remove a strona you mieć to pozwalać crawling i serve noindex. Don't put noindex in robots.txt (unsupported since Sept 1, 2019); if noindex i canonical coexist, treat że as an intent sprawdzenie zamiast an automatic błąd; i remember deindexing tylko happens po a recrawl.
TL;DR — Noindex jest how you tell Google “don’t put this page in search results.” You dodawać it as a mały znacznik in the strona’s code (lub as an HTTP header dla files like PDFs). The one reguła że trips everyone up: Google ma to być able to crawl the strona to see the znacznik — so don’t również blok it in robots.txt, lub the whole thing silently fails.
co noindex robi
noindex zachowuje a strona out of the search index. If a strona isn’t in the index, it
może’t pokazywać up in wyniki wyszukiwania. że’s the entire job: it doesn’t hide the strona
z visitors, it doesn’t make it load faster, i it doesn’t pass lub blok dowolny
“link juice” by itself — it just zachowuje the strona out of Google i Bing’s wyniki. Evidence for this claim Google's noindex rule prevents the page, media, or resource from appearing in Google Search results after Google sees the rule. Scope: Google Search; noindex is not an access-control or privacy mechanism. Confidence: high · Verified: Google Search Central: Block Search indexing with noindex
You’d reach dla it on strony że exist dla people ale mieć no firma ranking: internal wynik wyszukiwania strony, “thank you” strony po a form, thin znacznik lub filter strony, staging lub utility strony.
The two ways to dodawać it
There są tylko two prawidłowy metody. Pick one.
1. The robots meta znacznik. Drop ten wiersz do the <head> of the strona:
<meta name="robots" content="noindex">że’s the normal way dla an HTML strona. najbardziej CMSs (WordPress, Shopify, etc.) mieć a checkbox że dodaje it dla you — in wiele SEO plugins it’s a “discourage search engines from indexing this page” toggle on the strona editor.
2. The X-Robots-znacznik HTTP header. niektóre files don’t mieć a <head> to put a znacznik
in — a PDF, an image, a video. dla tamte you wysyłać the directive in the serwer’s
HTTP nagłówek odpowiedzi instead:
X-Robots-Tag: noindexYou może’t see ten one in the strona źródło; it lives in the odpowiedź headers. Evidence for this claim Google supports noindex in an HTML robots meta tag or an X-Robots-Tag HTTP response header. Scope: Google Search delivery methods; the HTTP header is applicable to non-HTML resources as well as HTML. Confidence: high · Verified: Google Search Central: Robots meta tag and X-Robots-Tag specifications
The mistake że breaks it
ten jest the big one, so I’ll say it plainly: a strona blocked in robots.txt
cannot być noindexed.
It sounds backwards, ale here’s why. robots.txt tells wyszukiwarki nie to
crawl a strona. The noindex znacznik lives on the strona. If Google jest told nie to
crawl the strona, it nigdy fetches it, so it nigdy sees the noindex znacznik — i the
strona może stay in the index, czasami showing up as a bare URL z no opis.
So the poprawny recipe to remove a strona jest the opposite of co feels bezpieczny:
- upewnij się the strona jest nie blocked in
robots.txt(let Google crawl it). - dodawać
noindex(the meta znacznik lub the header). - Wait dla Google to recrawl it. Deindexing isn’t instant — it happens the następny time Google fetches the strona i sees the znacznik.
A kilka więcej sprawdzenia że the Advanced tab covers in pełny: don’t put noindex
inside twój robots.txt file (że hasn’t worked since 2019), i sprawdzenie the
intent gdy noindex i canonical appear together. The combination może być
intentional; a canonical pointing elsewhere jest the stronger ostrzeżenie ponieważ the
two signals ask dla różny outcomes.
Want the dokładny serwer snippets, the noindex,follow nuance, the history, i how
to verify it in Google Search Console? Switch to the Advanced tab.
Test yourself: noindex
Choose noindex tylko gdy removal jest the goal
Noindex, disallow, canonical, or nofollow?
The three noindex awarie to sprawdzenie pierwszy
- Noindex plus robots.txt disallow. The crawler cannot fetch the URL, so it cannot odkrywać the removal directive. Unblock it, retain noindex, i pozwalać a recrawl.
- Noindex plus canonical. One signal says “remove this page”; the other asks engines to consolidate it z a preferred duplicate. używać canonical dla duplicate consolidation i noindex dla genuine removal—nie oba.
Noindex:inside robots.txt. It jest nie a supported Google reguła. użyj robots meta znacznik lubX-Robots-Tagnagłówek odpowiedzi.- Noindex plus leaving the URL in twój mapa witryny. Google’s own mapa witryny
guidance jest to submit the canonical URLs you actually want to see in search
wyniki — a noindexed URL doesn’t belong there. Leaving it in won’t override
the
noindexdirective, ale it wysyła a conflicting signal o twój intent i może confuse anyone auditing the mapa witryny later. Drop noindexed URLs z the mapa witryny once you’re done tracking ich removal.
również avoid używając noindex as kontrola dostępu. The strona pozostaje publicly requestable; protect private treść z authentication.
Fix “Indexed, though blocked by robots.txt”
ten status means the crawl blok zrobił nie guarantee removal. Google może know a URL z links bez pobieranie jego treści, i the blok zapobiega it z seeing a noindex directive on the strona.
- Confirm the URL powinien być removed zamiast merely crawled mniej często.
- usuń applicable robots.txt disallow dla the target crawler.
- Serve
noindexin the HTML head lub as anX-Robots-Tagheader. - sprawdź final odpowiedź po redirects i confirm no CDN lub template wariant removes the directive.
- używać URL Inspection’s live test to prove Google może fetch i see noindex.
- żądanie recrawl if appropriate, then monitoruj strona indeksowanie raport.
- tylko consider re-blocking po removal if you understand że future discovery i processing może again być limited.
If the treść jest confidential, stop here i dodawać authentication instead; neither robots.txt nor noindex jest a security mechanism.
Serve noindex dla non-HTML files
Apache przykład dla PDF odpowiedzi:
<FilesMatch "\.pdf$">
Header set X-Robots-Tag "noindex"
</FilesMatch>Nginx przykład:
location ~* \.pdf$ {
add_header X-Robots-Tag "noindex" always;
}Verify a representative file i follow redirects:
curl -sSIL https://example.com/file.pdf | grep -iE '^(HTTP/|location:|x-robots-tag:)'Scope serwer reguły narrowly i test an intended PDF plus an HTML strona że powinien pozostawać indeksowalny. A broad location lub file-match reguła może accidentally noindex an entire asset family lub witryna sekcja.
monitorować noindex as an owned URL ustawić
Deployment coverage
Approved noindex URLs serving noindex ÷ all URLs in the approved noindex set
mierz live odpowiedź, nie the CMS pole. Segment awarie by HTML meta,
X-Robots-Tag, redirect destination, i robots.txt access.
Processing outcome
Track the approved ustawić w całym Google Search Console states: zindeksowany, “URL marked ‘noindex’,” blocked by robots.txt, i nie yet recrawled. The użyteczny direction jest fewer approved URLs zindeksowany i fewer crawl-blok/noindex conflicts po the deployment.
również track accidental noindex osobno: URLs intended to rank że serve a noindex directive lub appear poniżej the strona indeksowanie noindex powód. używać twój own pre-deployment baseline i URL stan magazynowy; there jest no defensible universal target percentage dla how much of a witryna powinien być noindexed.
TL;DR —
noindexremoves a strona z the index via one of two prawidłowy metody: the robots meta znacznik (<meta name="robots" content="noindex">) lub theX-Robots-Tag: noindexHTTP header (required dla non-HTML files like PDFs). The load-bearing gotcha: a strona blocked in robots.txt może’t być noindexed — Google nigdy crawls it to see the reguła, “the crawler will never see thenoindexrule,” i a linked URL może stay zindeksowany. So to remove a strona, pozwalać crawling i servenoindex. Don’t put noindex in robots.txt (unsupported since Sept 1, 2019), sprawdzenie noindex z a canonical pointing elsewhere as potentially conflicting, i know że deindexing tylko happens po a recrawl — Google’s own guidance says a niski-priority strona może take months. Per a 2017 Mueller comment (nie udokumentowany polityka), long-termnoindex,followtends to behave likenoindex,nofollowonce the strona drops z the index. Verify in GSC poniżej “URL marked ‘noindex’.“
co noindex jest — index control, nie crawl control
noindex jest the primary index-control directive. Google’s own definition of the
reguła jest one wiersz: “Do not show this page, media, or resource in search results.”
gdy it’s honored, the effect jest total — “When Googlebot crawls that page and
extracts the tag or header, Google will drop that page entirely from Google Search
results, regardless of whether other sites link to it.” Evidence for this claim Google's noindex rule prevents the page, media, or resource from appearing in Google Search results after Google sees the rule. Scope: Google Search; noindex is not an access-control or privacy mechanism. Confidence: high · Verified: Google Search Central: Block Search indexing with noindex
zachować one distinction front of mind, ponieważ almost każdy noindex mistake comes
z blurring it: noindex controls indeksowanie; robots.txt controls crawling.
They’re różny stages of the pipeline. I put it ten way in my Ahrefs poradnik on
removing URLs: “Crawling is not the same thing as indexing. Even if Google is
blocked from crawling pages, if there are any internal or external links to a page
they can still index it.” że zdanie jest the whole powód the rest of ten
artykuł exists.
Microsoft gives the same directive an additional Bing-specific consequence:
treść marked noindex jest również excluded z Microsoft’s foundation-model
training. The prerequisite nadal matters—Bingbot musi być allowed to crawl i
proces the strona-level directive. A robots.txt blok plus noindex jest therefore
nie proof że either deindexing lub the training opt-out ma był applied.
The two prawidłowy delivery metody
There są exactly two, i noindex in robots.txt jest nie one of them (więcej on
że below).
metoda 1 — the robots meta znacznik. dla an HTML strona, place ten in the <head>:
<meta name="robots" content="noindex">Google’s instruction jest verbatim: “To prevent all search engines that support the
noindex rule from indexing a page on your site, place the following <meta> tag
into the <head> section of your page.” The robots wartość targets wszystkie crawlers
że obsługiwać the reguła; swap in googlebot to target tylko Google
(<meta name="googlebot" content="noindex">).
metoda 2 — the X-Robots-znacznik HTTP header. Same directive, sent in the odpowiedź header zamiast the znaczniki:
X-Robots-Tag: noindexten jest the tylko way to noindex non-HTML zasoby, ponieważ there’s no <head>
to host a meta znacznik. Google: “A response header can be used for non-HTML
resources, such as PDFs, video files, and image files.” i z the robots spec:
you może użyj X-Robots-Tag “for non-HTML files like image files where the
usage of robots meta tags in HTML is not possible.” Evidence for this claim Google supports noindex in an HTML robots meta tag or an X-Robots-Tag HTTP response header. Scope: Google Search delivery methods; the HTTP header is applicable to non-HTML resources as well as HTML. Confidence: high · Verified: Google Search Central: Robots meta tag and X-Robots-Tag specifications
One placement note: put the meta znacznik in the <head> — że’s the standard,
safest spot i co Google’s how-to pokazuje. Google’s spec strona robi say it
“doesn’t enforce placement of meta robots in the HTML head and will respect
robots meta tags in the body section of an HTML document as well,” ale don’t
rely on że as twój primary metoda; a stray <meta> znacznik niektóre CMS injects do
the <body> może noindex a strona by accident just as easily as one you meant to
dodawać to the <head>.
Since the header jest configured at the serwer level, it varies by stack. Two common przykłady dla noindexing każdy PDF on a witryna:
Apache (.htaccess lub vhost):
<FilesMatch "\.pdf$">
Header set X-Robots-Tag "noindex"
</FilesMatch>Nginx (server/location blok):
location ~* \.pdf$ {
add_header X-Robots-Tag "noindex";
}The #1 mistake — noindex + a robots.txt blok
The same page contains a meta robots noindex directive. With crawling allowed, Google can fetch the page, see noindex, and remove the URL after processing. With crawling blocked in robots.txt, Google cannot see noindex and the linked URL may remain in results.
ten jest the awaria mode I see najbardziej, so here’s the mechanism in pełny. The
noindex znacznik lives on the strona; Google ma to fetch the strona to read it.
Google states the requirement directly:
“For the
noindexrule to be effective, the page or resource must not be blocked by a robots.txt file, and it has to be otherwise accessible to the crawler. If the page is blocked by a robots.txt file or the crawler can’t access the page, the crawler will never see thenoindexrule, and the page can still appear in search results, for example if other pages link to it.”
Put even więcej bluntly: “We have to crawl your page in order to see <meta> tags
and HTTP headers.” No crawl, no reguła.
robots.txt jest the najbardziej common way a strona ends up uncrawlable, ale Google’s
wording covers więcej ground than że — it również says “the crawler can’t access
the page,” który obejmuje repeated serwer błędy (5xx), timeouts, i an
unintended authentication wall in front of the strona. dowolny of tamte silently
breaks noindex the same way a robots.txt blok robi.
So the instinct to “block it in robots.txt and noindex it, just to be safe” jest
exactly backwards — the blok zapobiega the crawl, the crawl jest co reveals the
noindex, i the strona może sit in the index indefinitely (często as a
opis-mniej URL). In Google Search Console ten pokazuje up as the
“Indexed, though blocked by robots.txt” status — a strona you blocked że got
zindeksowany anyway ponieważ something links to it.
The fix: unblock the strona in robots.txt, zachować noindex on it, i let
Google recrawl. tylko po the strona ma dropped z the index — if you then want
to save the crawl entirely — jest it bezpieczny to dodawać a disallow.
Worked deployment przykład: the staging witryna że by nie disappear
A redesign launches z staging.example.com. The staging templates już
contain noindex, ale the deployment checklist również dodaje:
User-agent: *
Disallow: /że feels like two warstwy of protection. It jest actually a trap if Google już
odkryty the staging URLs przez a shared QA link, an old mapa witryny, a public
ticket, lub a link in copied production treść. The disallow zapobiega the następny
crawl, so Google cannot confirm the noindex; the hostname może linger as thin,
URL-tylko wyniki.
The cleanup sequence jest: usuń disallow, zachować noindex on każdy staging
odpowiedź, confirm the live odpowiedź jest crawlable i exposes the directive, żądanie
recrawling dla a representative sample, i monitoruj hostname until it drops
out. Then put the environment behind authentication. Authentication jest the durable
prywatność control; noindex jest tylko a search-index control.
noindex vs nofollow vs disallow
Three directives people constantly conflate. They operate at różny stages:
noindex— index control. strona jest crawled, kept out of wyniki. Google’s definition: “Do not show this page, media, or resource in search results.”nofollow— link control. Google: “Do not follow the links on this page.” It says nothing o indeksowanie the strona itself.disallow(robots.txt) — crawl control. Stops the fetch entirely. It jest nie an index control — a disallowed URL może nadal być zindeksowany if it’s linked.
There’s również none, który Google documents as “Equivalent to noindex, nofollow.” i gdy directives conflict, the spec jest jasny: “In the case of
conflicting robots rules, the more restrictive rule applies.” (pełny tabela on the
Cheat Sheets tab.)
Treat noindex z rel=canonical as an intent sprawdzenie
Putting noindex i rel="canonical" on the same strona jest nie automatically
nieprawidłowy. It robi create a konfiguracja worth reviewing: a canonical asks Google
to consolidate signals, podczas gdy noindex asks dla ten URL to być excluded. dla
choosing między duplicates, użyj znacznik kanoniczny — Google specifically
advises wobec używając noindex dla it: “We don’t recommend using noindex to
prevent selection of a canonical page within a single site, because it will
completely block the page from Search.” Note the scope: Google’s caution jest
specifically o używając noindex to pick który duplicate wins as canonical
w twój own witryna — it’s nie a twierdzenie że noindex i canonical może nigdy
technically coexist on a strona (a strona you’re genuinely retiring może nadal carry
a self-referencing canonical). A canonical pointing at a różny URL deserves
the strongest ostrzeżenie: confirm że exclusion i consolidation są oba intended.
używać canonical to consolidate duplicates; używać noindex tylko gdy you genuinely
want ten strona out of wyniki.
noindex,follow vs noindex,nofollow — the slow decay
A common pattern jest noindex,follow: zachowaj strona out of wyniki, ale zachować
following jego links so equity nadal flows przez it (handy podczas a migration lub
podczas gdy a strona jest temporarily out). Current official Google documentation doesn’t
describe ten decaying automatically — it explicitly pozwala combining noindex
z other reguły, w tym setting noindex,nofollow on purpose z day one.
co I’m relying on dla the “it fades over time” twierdzenie jest a 2017 webmaster
hangout, gdzie John Mueller said a long-term noindex tends to end up treated
like noindex,nofollow w praktyce: once Google decides the strona really doesn’t
belong in search i drops it completely, it również stops following że strona’s
links, ponieważ it’s stopped processing the strona at wszystkie. że’s a practitioner
observation z a video transcript, nie a udokumentowany Google polityka, so treat it
as directional zamiast guaranteed. Either way, the practical takeaway holds:
noindex,follow jest fine dla a transitional period, ale don’t lean on it as a
permanent link-equity strategy — plan to fix the underlying links (lub usuń
strona) instead.
How long robi noindex take?
nie instantly. noindex tylko applies po Google recrawls i reprocesses
the strona — until then, the strona może stay zindeksowany even though the znacznik jest live.
Google doesn’t commit to a fixed window, i jego own guidance leans toward
“could be a while,” nie “any day now”: “Depending on the importance of the page
on the internet, it may take months for Googlebot to revisit a page.” A
wysoki-ruch, frequently-linked strona może get recrawled in days; a niski-wartość,
rarely-linked one może sit dla months. If you need a strona out of wyniki
urgently, the GSC Removals narzędzie jest a stopgap (it hides the URL temporarily
podczas gdy the permanent noindex robi jego slower działać). dla genuinely gone strony, a
404/410 również drops them: as I wrote in my removal poradnik, “If you remove the
page and serve either a 404 (not found) or 410 (gone) status code, then the page
will be removed from the index shortly after the page is re-crawled.” Same theme
everywhere — it happens on recrawl.
noindex in robots.txt jest dead (since Sept 1, 2019)
You’ll nadal see people suggest a Noindex: wiersz in robots.txt. Don’t. It był
nigdy an officially supported reguła, i Google retired even jego unofficial handling
years ago. z the July 2019 Search Central announcement: “Since these rules were
never documented by Google, naturally, their usage in relation to Googlebot is very
low.” i the date: “we’re retiring all code that handles unsupported and
unpublished rules (such as noindex) on September 1, 2019.”
The same post named the supported alternatives, i noindex via the meta znacznik /
header topped the lista: “noindex in robots meta tags: Supported both in the HTTP
response headers and in HTML, the noindex rule is the most effective way to remove
URLs from the index when crawling is allowed.” (również listed: 404/410 status
codes, password protection, robots.txt disallow dla crawl prevention, i the
Search Console removal narzędzie.)
How to verify noindex in Google Search Console
Two sprawdzenia:
- URL Inspection. Run the URL przez Inspect, then Test live URL. It tells
you whether the strona jest indeksowalny i whether Google sees a
noindexdirective — the fastest way to confirm the znacznik jest będąc read on the live strona. - strona indeksowanie raport. Noindexed strony są listed poniżej the status “URL marked ‘noindex’” in the nie zindeksowany sekcja. Google’s pomagać tekst: “When Google tried to index the page it encountered a ‘noindex’ directive and therefore did not index it.” If że’s a strona you wanted zindeksowany, że’s twój bug — usuń directive.
One naming note dla anyone searching old write-ups: the legacy Coverage raport called ten “Excluded by ‘noindex’ tag.” The current strona indeksowanie raport używa “URL marked ‘noindex’” — same thing, newer label.
co noindex doesn’t guarantee
A kilka things people assume noindex buys them że it actually doesn’t:
- Crawl-budget savings. Google nadal ma to fetch the strona to see the znacznik —
noindexalone doesn’t reduce crawling. If you want że too, dodawaćdisallowinrobots.txt, ale tylko po the strona ma już dropped z the index (see the mistake above dla why doing it up front backfires). - Instant removal. Covered above — it happens on recrawl, z no fixed timetable, i Google itself says a lower-priority strona może take months.
- Duplicate consolidation. że’s co
rel="canonical"jest dla;noindexjust removes the strona z Search, it doesn’t merge signals toward another URL. - Confidentiality. The strona stays publicly requestable by anyone z the URL. If something actually needs to być private, że’s an authentication problem, nie a search-directive problem.
- Ranking odzyskiwanie if you reverse it. Removing
noindexdoesn’t restore a strona’s old rankings — Google ma to recrawl, re-evaluate, i effectively re-earn jego position z scratch. - Identical timing w całym wyszukiwarki. Bing i other engines run ich own crawl i recrawl schedules independently of Google’s.
- Exclusion z każdy non-search używać of twój treść.
noindexbloki a strona z Google Search as a whole — w tym Search’s own AI funkcje (Omówienia AI i similar draw on strony że są zindeksowany i eligible to być shown, so a noindexed strona jest out of tamte too). co it robi nie robić jest control Google’s oddzielny Google-Extended setting, który governs whether twój treść może być używany to train lub ground Google’s generatywna AI modele outside of Search. tamte są two różny controls dla two różny jobs.
gdzie noindex fits z everything else
noindex jest the lever you reach dla gdy a strona jest in the index ale shouldn’t być —
the cure dla one flavor of index bloat (thin, utility, lub duplicate-ish strony z
no search wartość). It sits right następny to the robots meta znacznik i the X-Robots-znacznik
header (jego two delivery metody), robots.txt i jego disallow directive (the crawl
control it’s so często confused z), the znacznik kanoniczny (używać że dla duplicate
consolidation, nie noindex), i the broader crawling i indeksowanie stages it
plugs do. Get the crawl-vs-index distinction right i noindex stops będąc
mysterious: pozwalać the crawl, serve the znacznik, wait dla the recrawl.
AI summary
A condensed take on the Advanced version:
noindex= zachować a strona out of the index (out of wyniki wyszukiwania). Google: “Do not show this page, media, or resource in search results.” gdy honored, it drops the strona entirely “regardless of whether other sites link to it.”- Two prawidłowy metody tylko: the robots meta znacznik
(
<meta name="robots" content="noindex">) i theX-Robots-Tag: noindexHTTP header. The header jest required dla non-HTML files (PDFs, images, videos). - The #1 mistake: a strona blocked in
robots.txtmoże’t być noindexed — Google nigdy crawls it, so “the crawler will never see thenoindexrule,” i a linked URL może stay zindeksowany. To remove a strona: pozwalać crawling + servenoindex. noindex≠nofollow≠disallow: index control vs link control vs crawl control. najbardziej restrictive reguła wins on conflict.- sprawdzenie
noindexz arel="canonical"pointing elsewhere — confirm że exclusion i consolidation są oba intended. używać canonical dla duplicates; używaćnoindextylko gdy the strona itself powinien być excluded z Search. noindex,followmoże fade tonoindex,nofollowponad the long term, per a 2017 Mueller comment — nie udokumentowany Google polityka, so treat it as directional. Fine as a temporary state, nie a permanent link-equity plan.- nie instant — applies on recrawl. Google says a niski-priority strona może take
months to być revisited. używać GSC Removals as an urgent stopgap;
404/410również drops strony once recrawled. noindexin robots.txt jest dead — nigdy officially supported; retired Sept 1, 2019. użyj meta znacznik lub header.- Doesn’t kupić you crawl-budget savings, confidentiality, duplicate consolidation, ranking odzyskiwanie on reversal, lub exclusion z Google’s model-training (Google-Extended jest the oddzielny control dla że).
- Verify in GSC: URL Inspection (Test live URL) + strona indeksowanie raport poniżej “URL marked ‘noindex’” (legacy label: “Excluded by ‘noindex’ tag”).
Official documentation
Primary-źródło documentation z the wyszukiwarki.
- blok Search indeksowanie z
noindex— the canonical how-to: oba metody, i the musi-stay-crawlable gotcha. - Robots Meta znaczniki Specifications — każdy directive (
noindex,nofollow,none),X-Robots-Tag, i the “most restrictive rule wins” reguła. - A note on unsupported reguły in robots.txt (July 2019) — why
noindexin robots.txt był retired on Sept 1, 2019, i co to używać instead. - Consolidate duplicate URLs — why to używać
rel="canonical"(nienoindex) dla duplicate consolidation. - strona indeksowanie raport — the “URL marked ‘noindex’” status i how to verify.
Bing / Microsoft & engine-agnostic
- który robots metatags robi Bing obsługiwać? — Bing’s robots-znacznik obsługiwać, w tym
noindex. - MDN —
<meta name="robots">— a neutral, cross-engine reference dla the directive.
cytaty z the źródło
On-the-record statements z Google. każdy link jest a deep link że jumps to the quoted passage on the źródło strona.
Google — co noindex robi i how to ustawić it
- “Do not show this page, media, or resource in search results.” — Google Search Central docs (the
noindexdefinition). Jump to cytat - “To prevent all search engines that support the
noindexrule from indexing a page on your site, place the following<meta>tag into the<head>section of your page.” Jump to cytat - “A response header can be used for non-HTML resources, such as PDFs, video files, and image files.” Jump to cytat
- “When Googlebot crawls that page and extracts the tag or header, Google will drop that page entirely from Google Search results, regardless of whether other sites link to it.” Jump to cytat
Google — the robots.txt gotcha
- “For the
noindexrule to be effective, the page or resource must not be blocked by a robots.txt file, and it has to be otherwise accessible to the crawler. If the page is blocked by a robots.txt file or the crawler can’t access the page, the crawler will never see thenoindexrule, and the page can still appear in search results, for example if other pages link to it.” Jump to cytat - “We have to crawl your page in order to see
<meta>tags and HTTP headers.” Jump to cytat
Google — the other directives (dla the comparison)
- “Do not follow the links on this page.” — the
nofollowdefinition. Jump to cytat - “In the case of conflicting robots rules, the more restrictive rule applies.” Jump to cytat
Google — don’t używać noindex dla canonicalization
- “We don’t recommend using
noindexto prevent selection of a canonical page within a single site, because it will completely block the page from Search.” Jump to cytat
Google — noindex in robots.txt retired (Sept 1, 2019)
- “Since these rules were never documented by Google, naturally, their usage in relation to Googlebot is very low.” Jump to cytat
- “we’re retiring all code that handles unsupported and unpublished rules (such as
noindex) on September 1, 2019.” Jump to cytat - “the
noindexrule is the most effective way to remove URLs from the index when crawling is allowed.” Jump to cytat
Google — verifying it in Search Console
- “When Google tried to index the page it encountered a ‘noindex’ directive and therefore did not index it.” — strona indeksowanie raport (“URL marked ‘noindex’”). Jump to cytat
Patrick Stox — crawling jest nie indeksowanie (my Ahrefs “Remove URLs From Google” poradnik)
- “Crawling is not the same thing as indexing. Even if Google is blocked from crawling pages, if there are any internal or external links to a page they can still index it.” Jump to cytat
- “If you remove the page and serve either a 404 (not found) or 410 (gone) status code, then the page will be removed from the index shortly after the page is re-crawled.” Jump to cytat
noindex jest described in my own words zamiast quoted — confirm the dokładny wording in a przeglądarka przed treating it as verbatim. The long-term noindex,follow → noindex,nofollow point jest relayed z John Mueller via wyszukiwarka Roundtable’s coverage of a 2017 webmaster hangout; I’ve paraphrased it zamiast quoting, i it powinien być confirmed wobec the źródło przed będąc treated as final. noindex vs disallow vs nofollow vs canonical — co każdy robi
| Control | Stops crawling? | Stops indeksowanie? | co it’s dla | Key caveat |
|---|---|---|---|---|
noindex (meta znacznik / header) | No — strona musi stay crawlable | Yes | Removing a strona z the index / wyniki wyszukiwania | Useless if the strona jest robots.txt-blocked (crawler nigdy sees it) |
disallow (robots.txt) | Yes | No | Keeping bots out of niski-wartość URL spaces | nie a deindexing narzędzie — blocked URLs może nadal być zindeksowany if linked |
nofollow (meta / on links) | No | No | Telling Google nie to follow ten strona’s links | Says nothing o whether the strona itself jest zindeksowany |
rel="canonical" | No | Consolidates, doesn’t force | Pointing to the preferred version of a duplicate | A hint, nie a reguła — coexistence z noindex jest an intent ostrzeżenie, especially gdy it points elsewhere |
The two prawidłowy noindex metody
| metoda | Syntax | używać it dla |
|---|---|---|
| Robots meta znacznik | <meta name="robots" content="noindex"> in the <head> | Normal HTML strony |
| X-Robots-znacznik header | X-Robots-Tag: noindex in the HTTP odpowiedź | Non-HTML files (PDF, image, video) — i dowolny strona gdzie setting a header jest easier than editing znaczniki |
<meta name="googlebot" content="noindex"> targets tylko Google; robots targets
każdy engine że obsługuje the reguła. noindex,nofollow (lub none, który Google
calls “Equivalent to noindex, nofollow”) robi oba at once.
nie a prawidłowy metoda: Noindex: inside robots.txt. nigdy officially supported;
retired by Google on September 1, 2019. Don’t używać it.
How to noindex a strona correctly (i verify it)
ustawić it up
- Picked the right metoda: robots meta znacznik dla an HTML strona, lub
X-Robots-Tag: noindexheader dla a PDF / image / video. - dla HTML:
<meta name="robots" content="noindex">jest in the<head>— the standard, safest placement (Google będzie również honor a robots meta znacznik placed in the<body>, ale don’t rely on że; it również means a stray<meta>znacznik injected do the body może noindex a strona by accident). - The strona jest nie blocked in
robots.txt— Google musi być able to crawl it to see the directive. - If the strona również carries
rel="canonical", jego target i the intended exclusion outcome mieć był sprawdzony; the combination jest nie treated as an automatic awaria. - If you want links to zachować flowing temporarily, używany
noindex,follow— knowing it decays tonoindex,nofollowponad the long term. - zrobił nie rely on a
Noindex:wiersz inrobots.txt(unsupported since Sept 1, 2019).
Verify it worked
- Ran URL Inspection → Test live URL in Google Search Console i confirmed
Google sees the
noindexdirective. - Checked the strona indeksowanie raport — the URL appears poniżej “URL marked ‘noindex’” (legacy label: “Excluded by ‘noindex’ tag”).
- Gave it time — deindexing tylko happens po a recrawl, so the strona won’t vanish z wyniki instantly.
- If it needs to być gone urgently, używany the GSC Removals narzędzie as a temporary
stopgap alongside the permanent
noindex. - If a strona jest nadal zindeksowany po noindexing it, checked pierwszy whether it’s również robots.txt-blocked (“Indexed, though blocked by robots.txt”) — the liczba-one cause.
Dziennik zmian
Zaktualizowano 28 lip 2026.
Podsumowanie redakcyjne i zapisane szczegóły zmian.Szczegóły zmian
-
Szczegółowe uwagi dotyczące zmian są obecnie dostępne po angielsku.
Pełne porównanie jest niedostępne — dla tej wersji nie zarchiwizowano wcześniejszej migawki.
Zaktualizowano 19 lip 2026.
Podsumowanie redakcyjne i zapisane szczegóły zmian.Szczegóły zmian
-
Szczegółowe uwagi dotyczące zmian są obecnie dostępne po angielsku.
Pełne porównanie jest niedostępne — dla tej wersji nie zarchiwizowano wcześniejszej migawki.
Zaktualizowano 19 lip 2026.
Podsumowanie redakcyjne i zapisane szczegóły zmian.Szczegóły zmian
-
Szczegółowe uwagi dotyczące zmian są obecnie dostępne po angielsku.
Pełne porównanie jest niedostępne — dla tej wersji nie zarchiwizowano wcześniejszej migawki.
Zaktualizowano 18 lip 2026.
Podsumowanie redakcyjne i zapisane szczegóły zmian.Szczegóły zmian
-
Szczegółowe uwagi dotyczące zmian są obecnie dostępne po angielsku.
-
Szczegółowe uwagi dotyczące zmian są obecnie dostępne po angielsku.
-
Szczegółowe uwagi dotyczące zmian są obecnie dostępne po angielsku.
-
Szczegółowe uwagi dotyczące zmian są obecnie dostępne po angielsku.
-
Szczegółowe uwagi dotyczące zmian są obecnie dostępne po angielsku.
Pełne porównanie jest niedostępne — dla tej wersji nie zarchiwizowano wcześniejszej migawki.