[null,null,["最后更新时间 (UTC):2025-08-04。"],[[["\u003cp\u003e\u003ccode\u003enoindex\u003c/code\u003e prevents search engines from indexing a webpage, removing it from search results even if other sites link to it.\u003c/p\u003e\n"],["\u003cp\u003eIt can be implemented using a \u003ccode\u003e<meta>\u003c/code\u003e tag in the HTML's \u003ccode\u003e<head>\u003c/code\u003e or as an \u003ccode\u003eX-Robots-Tag\u003c/code\u003e HTTP response header, allowing control without server root access.\u003c/p\u003e\n"],["\u003cp\u003eThe page must be accessible to crawlers and not blocked by robots.txt for \u003ccode\u003enoindex\u003c/code\u003e to function correctly; otherwise, it might still appear in search results.\u003c/p\u003e\n"],["\u003cp\u003eGoogle might take time to recrawl and reflect the \u003ccode\u003enoindex\u003c/code\u003e directive; the URL Inspection tool can expedite this process or troubleshoot issues.\u003c/p\u003e\n"],["\u003cp\u003eIf urgent removal from Google Search is needed, consult the documentation on removals, ensuring robots.txt isn't blocking the page from Googlebot.\u003c/p\u003e\n"]]],["The `noindex` rule, implemented via a `\u003cmeta\u003e` tag or HTTP header, prevents search engines like Google from indexing specific content. To work, the page must be accessible to crawlers and not blocked by `robots.txt`. Implementation options include adding `\u003cmeta name=\"robots\" content=\"noindex\"\u003e` to a page's `\u003chead\u003e` or using the `X-Robots-Tag: noindex` HTTP header. Crawlers must revisit the page after `noindex` is added, which can be sped up using the URL Inspection tool. The rules can be tested using the URL Inspection tool.\n"],null,["# Block Search Indexing with noindex | Google Search Central\n\nBlock Search indexing with `noindex`\n====================================\n\n\n`noindex` is a rule set with either a `\u003cmeta\u003e`\ntag or HTTP response header and is used to prevent indexing content by search engines that\nsupport the `noindex` rule, such as Google. When Googlebot crawls that page and\nextracts the tag or header, Google will drop that page entirely from Google Search results,\nregardless of whether other sites link to it.\n| **Important** : For the `noindex` rule 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 the `noindex` rule, and the page can still appear in search results, for example if other pages link to it.\n\n\nUsing `noindex` is useful if you don't have root access to your server, as it\nallows you to control access to your site on a page-by-page basis.\n\nImplementing `noindex`\n----------------------\n\n\nThere are two ways to implement `noindex`: as a `\u003cmeta\u003e` tag and\nas an HTTP response header. They have the same effect; choose the method that is more\nconvenient for your site and appropriate for the content type. Specifying the\n`noindex` rule in the robots.txt file is not supported by Google.\n\n\nYou can also combine the `noindex` rule with other rules that control indexing. For\nexample, you can join a `nofollow` hint with a `noindex` rule:\n`\u003cmeta name=\"robots\" content=\"`**noindex, nofollow**`\" /\u003e`.\n\n### `\u003cmeta\u003e` tag\n\n\nTo prevent *all search engines* that support the `noindex` rule from indexing\na page on your site, place the following `\u003cmeta\u003e` tag into the\n`\u003chead\u003e` section of your page: \n\n```\n\u003cmeta name=\"robots\" content=\"noindex\"\u003e\n```\n\nTo prevent *only Google web crawlers* from indexing a page: \n\n```\n\u003cmeta name=\"googlebot\" content=\"noindex\"\u003e\n```\n\n\nBe aware that some search engines might interpret the\n`noindex` rule differently. As a result, it is possible that your page might\nstill appear in results from other search engines.\n\n\n[Read more about the `noindex` `\u003cmeta\u003e` tag](/search/docs/crawling-indexing/robots-meta-tag#robotsmeta).\n|\n| **If you use a CMS, such as Wix, WordPress, or Blogger** , you might not be able to edit\n| your HTML directly, or you might prefer not to. Instead, your CMS might have a search engine\n| settings page or some other mechanism to tell search engines about `meta` tags.\n|\n|\n| If you want to add a `meta` tag to your website, search for instructions\n| about modifying the `\u003chead\u003e` of your page on your CMS (for example,\n| search for \"wix add meta tags\").\n\n### HTTP response header\n\n\nInstead of a `\u003cmeta\u003e` tag, you can return an `X-Robots-Tag`\nHTTP header with a value of either `noindex` or `none` in your response.\nA response header can be used for non-HTML resources, such as PDFs, video files, and image\nfiles. Here's an example of an HTTP response with an `X-Robots-Tag` header\ninstructing search engines not to index a page: \n\n```\nHTTP/1.1 200 OK\n(...)\nX-Robots-Tag: noindex\n(...)\n```\n\n\n[Read more about the `noindex` response header](/search/docs/crawling-indexing/robots-meta-tag#xrobotstag).\n\n### Debugging `noindex` issues\n\n\nWe have to crawl your page in order to see `\u003cmeta\u003e` tags and HTTP headers. If\na page is still appearing in results, it's probably because we haven't crawled the page since\nyou added the `noindex` rule. Depending on the importance of the page on the\ninternet, it may take months for Googlebot to revisit a page. You can request that Google\nrecrawl a page using the\n[URL Inspection tool](https://support.google.com/webmasters/answer/9012289).\n\n\nIf you need to remove a page of your site quickly from Google's search results, see our\n[documentation about removals](/search/docs/crawling-indexing/remove-information).\n\n\nAnother reason could also be that the robots.txt file is blocking the URL from Google web\ncrawlers, so they can't see the tag. To unblock your page from Google, you must\n[edit your robots.txt file](/search/docs/crawling-indexing/robots/submit-updated-robots-txt).\n\n\nFinally, make sure that the `noindex` rule is visible to Googlebot. To test if your\n`noindex` implementation is correct, use the\n[URL Inspection tool](https://support.google.com/webmasters/answer/9012289)\nto see the HTML that Googlebot received while crawling the page.\nYou can also use the\n[Page Indexing report](https://support.google.com/webmasters/answer/7440203)\nin Search Console to monitor the pages on your site from which Googlebot extracted a\n`noindex` rule."]]