Whole-site removal, explained
How to take an entire website out of Google and Bing, and prove it worked.
Staging sites that got indexed. Domains you are retiring. Subdomains, directories, hacked spam. Plain-language guides built from the search engines' own documentation, with every method's limits stated.
Start with your situation
| If this is you | Read |
|---|---|
| Staging or dev site is showing in Google | Deindex a staging site |
| Live site that should not be listed | Site-wide noindex |
| Not sure which method to use | Noindex vs password vs 410 |
| Shutting a domain down for good | Retire an old domain |
| Spam pages injected by a hack | Hacked site cleanup |
| Removed it but it still shows | Mistakes that keep sites indexed |
| Deindexed your live site by accident | Recover from accidental deindexing |
All guides
27 guides in one cluster. Start with the complete guide, then go deep where you need to.
Core methods
- Site-Wide Noindex: How to Apply It to an Entire WebsiteHow to apply noindex to every page of a website using the X-Robots-Tag header or meta tags, with server snippets, testing steps and the traps to avoid.
- Noindex vs Password Protection vs 410: Which Method Should You Use?Compare noindex, password protection and 404/410 for removing a website from search. Decision table, side effects and the right order for each situation.
- Removing a Whole Site With the Search Console Removals ToolHow to use the Search Console Removals tool for a whole site: temporary removals, prefix removal, what it cannot do, and how to make the result permanent.
- Domain Properties vs URL-Prefix Properties for Site RemovalUnderstand how Search Console domain properties and URL-prefix properties differ for deindexing, which one to verify, and how verification choices affect removals.
- robots.txt Mistakes That Stop Sites From Being DeindexedWhy Disallow: / does not remove a site from Google, how blocked pages stay listed, and the correct order for using robots.txt in a deindexing project.
- Returning 410 (or 404) for an Entire Website: Setup and PitfallsHow to make every URL on a retired website return 410 Gone or 404, with server snippets, soft-404 traps, monitoring and what Google does with the result.
- Password Protecting a Site to Get It Out of GoogleHow HTTP authentication and access controls keep a site out of Google, what happens to already-indexed pages, and how to pair them with removals.
Scope: staging, subdomains, directories
- How to Deindex a Staging or Dev Site That Got IndexedStaging, dev or test site showing up in Google? Step-by-step cleanup: lock it down, remove it from results, prevent a repeat and avoid duplicate-content problems.
- How to Deindex a Subdomain Without Touching the Main SiteRemove a subdomain such as blog., shop. or staging. from Google while leaving the main domain alone: property setup, removals, permanent signals and checks.
- Removing a Directory or Section of a Site From GoogleRemove a folder or section such as /old-blog/ from Google: path-scoped noindex, 410 patterns, prefix removals in Search Console and how to verify the result.
- Alternate Hostnames, IP Addresses and CDN URLs That Keep Sites IndexedFind and remove every hostname that serves your site: www, http, IP address, CDN, platform preview URLs and wildcard subdomains that quietly stay indexed.
- Removing Images, PDFs and Other Files From Google SearchHow to keep images, PDFs and downloads out of Google results for a site you own: X-Robots-Tag, removals for file URLs, access control and common traps.
Retired domains, migrations, networks
- How to Retire an Old Domain Without Leaving Ghost Results in GoogleShutting down a domain for good? How to sequence 410s, redirects, Search Console removals and DNS so the site leaves Google cleanly and does not come back.
- Site Migration Cleanup: What to Do With the Old Domain in GoogleAfter moving to a new domain, how to handle the old one: 301 redirects, Change of Address, what not to deindex, and when leftover old URLs need removal.
- Parked and Expired Domains: Handling Index Leftovers and Reuse RiskWhat happens to a domain's search history when it is parked, expires or is reused: how to keep a parked domain out of results and avoid inherited problems.
- Multi-Site Network Hygiene: Managing Indexing Across Many DomainsA practical process for agencies, publishers and portfolio owners to track indexing status, hostnames, redirects and removals across many websites.
Hacked and spam-injected sites
- Hacked Site With Spam Pages in Google: Cleanup and DeindexingSpam or injected pages from a hack showing in Google? How to clean the site, return proper statuses, remove the URLs and recover without being re-infected.
- Hacked Site Recovery: Security Issues, Manual Actions and Review RequestsAfter cleaning a hacked site, how to use Search Console's Security Issues and Manual Actions reports, request a review, and monitor recovery without relapse.
Verify and time it
- How to Confirm a Site Is Deindexed: site: Checks and Other EvidenceHow to verify a website is gone from Google using site: queries, URL Inspection and Search Console reports, and why a single check is never proof.
- Using URL Inspection to Verify Removal and Diagnose Stuck URLsUse Search Console's URL Inspection tool to check whether a URL is indexed, why it is stuck, and what Googlebot actually sees, with a decoder for common results.
- Search Console Reports for Deindexing: Pages, Removals and SecurityWhich Search Console reports to watch during a website removal: Page indexing, Removals, Sitemaps, Security Issues and Manual Actions, and how to interpret each.
- How Long Does Deindexing a Website Take? Realistic TimelinesHonest timelines for removing a site from Google: what is fast, what is slow, what controls the pace and how to plan around uncertainty without false promises.
Mistakes and recovery
- 15 Mistakes That Keep a Website Indexed After You Try to Remove ItThe most common reasons a website stays in Google after a removal attempt: robots.txt blocks, missed hostnames, soft 404s, expired removals and more, with fixes.
- Deindexed by Mistake: How to Recover Your Site in GoogleAccidentally noindexed, blocked or removed your live site? Step-by-step recovery: find the cause, undo it, cancel removals, request recrawl and monitor.
Other engines and third parties
- How to Remove a Website From Bing: Webmaster Tools and Permanent SignalsRemove a whole site from Bing with Webmaster Tools, noindex, 404/410 and robots handling, plus how Bing differs from Google and how to verify results.
- Removing Content From Someone Else's Website: Google's Official FlowsWhat you can and cannot do when a site you do not own appears in Google: official routes for personal information, outdated content, policy and legal requests.
How we write these guides
Every article links to the official documentation it relies on: Google Search Central, Search Console Help and Bing Webmaster Tools. We state what the documentation says, mark what is our own experience-based heuristic, and say plainly when something has no published timeline. We do not publish invented statistics or testimonials. See About for our method and corrections policy.
These guides are for sites you own or are authorised to manage. For content on sites you do not control, see the official third-party flows.