Setup & site building · Guide
How to Unpublish Your WordPress Site (Step by Step)

Short answer
Self-hosted WordPress has no unpublish button, so hide the site with a coming soon or maintenance mode plugin, protect it with a password, or bulk set content to draft. On WordPress.com, switch site visibility to Coming Soon or Private, and always take a full backup before deleting anything.
Key takeaways
- Self-hosted WordPress has no unpublish switch, so use a plugin, password or draft status.
- Maintenance mode suits short breaks because it sends a temporary 503 status.
- WordPress.com sites can switch to Coming Soon or Private in their settings.
- Discourage search engines only asks bots not to index, so visitors can still see the site.
- Take a full backup and check email before deleting a site or cancelling hosting.
How do you unpublish your WordPress site?
Self-hosted WordPress has no single unpublish switch, so you hide the site with a coming soon or maintenance mode plugin, password protection, or by setting content to draft, while WordPress.com offers a Private or Coming Soon visibility setting.
The right method depends on how long the site should stay hidden and who still needs access. A redesign that takes a week calls for a different approach than shutting a site down for good.
| Goal | Best method | Visitors see | Search engines |
|---|---|---|---|
| Short fix or update | Maintenance mode | A 503 notice | Told to come back later |
| Hide while building | Coming soon page | A placeholder page | Usually blocked with noindex |
| Only some people can view | Password protection | A login prompt | Cannot crawl content |
| Hide all posts but keep the site | Set content to draft or private | Empty site or 404s | Pages drop out over time |
| Close the site for good | Delete or take offline | Nothing | Pages removed |
Hiding a single page is a different task. For that, see our guide on unpublishing a page in WordPress.
Does WordPress.com have an unpublish option?
Yes, WordPress.com has a site visibility setting where you can switch a site to Coming Soon or Private, which hides it from the public without deleting anything.
The exact menu has moved over the years. Look in your site's Settings for a Privacy or Site Visibility section, then choose:
- Coming Soon: visitors see a placeholder page while you and invited users can still view the site
- Private: only you and users you invite can see the site after logging in
- Public: the normal live setting
WordPress.com's privacy settings guide shows the current screen. If your site is showing as private and you did not expect it, our guide on why your WordPress site is private explains the common reasons.
How do you put a self-hosted site in coming soon mode?
Install a coming soon plugin, turn on coming soon mode, design a simple holding page, and keep logged-in admins able to view the real site while you work.
A typical flow with a plugin such as SeedProd's Coming Soon Page plugin:
- Go to Plugins > Add New Plugin
- Search for a coming soon or maintenance mode plugin and install it
- Activate the plugin
- Open its settings and build or pick a coming soon page
- Turn Coming Soon Mode on
- Log out or use a private window to check what visitors see
Coming soon pages usually return a normal 200 status. That is fine for a site that is not live yet, but make sure the plugin adds a noindex tag, or turn on Settings > Reading > Discourage search engines from indexing this site as well.
Most of these plugins let you allow certain user roles or IP addresses through. That helps when a client needs to review the site.
How do you use maintenance mode to take a site offline briefly?
Turn on maintenance mode with a plugin so visitors get a short notice with a 503 status, which tells search engines the site is down temporarily and to come back later.
Maintenance mode suits updates, redesign launches and short repairs that take hours or a few days. The 503 status matters, because it protects your rankings during the break. MDN's reference on the 503 Service Unavailable status explains the code.
Do not leave a 503 in place for weeks. If search engines keep seeing it, they may eventually drop pages.
Our step-by-step guide on enabling maintenance mode in WordPress covers plugins and the code method.
If the site gets stuck showing a maintenance notice after an update, see fixing a site stuck in maintenance mode.
How do you password protect the whole site?
Use your host's directory privacy tool or a password plugin to require a login before anyone can see any page, which hides the site from visitors and search engines.
Two common ways:
- Host-level protection: many control panels, such as cPanel, have a Directory Privacy tool that adds a username and password to the whole folder. This sits in front of WordPress, so nothing loads without the password.
- Plugin protection: plugins can show a password form on every front-end page while leaving wp-admin as normal.
Host-level protection is stronger, because it blocks everything, including images and files. It can, however, interfere with WP Cron and some plugin connections that call the site from outside.
WordPress also has per-post passwords, described in the password protection documentation. That works for single posts but is not a practical way to hide a whole site.
How do you hide all your content without taking the site down?
Bulk edit your posts and pages to Draft or Private, so the content disappears from the front end and sitemap while staying safe in your dashboard.
Steps:
- Go to Posts > All Posts
- Set Screen Options to show more items per page
- Tick the box at the top to select all
- Choose Edit from Bulk actions and click Apply
- Set Status to Draft or Private
- Click Update
- Repeat for Pages and any custom post types
Private content stays visible to admins and editors when logged in. Drafts are visible to nobody on the front end.
This leaves your home page and theme visible, which can look broken. It works best together with a coming soon page.
Does discouraging search engines unpublish the site?
No, the Discourage search engines setting only asks search engines not to index the site; people can still visit every page, and pages already in Google may stay there for a while.
You find it under Settings > Reading. It adds a noindex robots directive and, on recent versions, changes how robots.txt and sitemaps behave. It is a polite request, not a lock.
Use it with other methods, not on its own. If privacy matters, add password protection too.
How do you remove your site from Google search results?
Add a noindex tag to every page and leave the pages crawlable, then use the Removals tool in Google Search Console if you need results hidden quickly.
Google needs to crawl a page to see the noindex tag. If you block it in robots.txt at the same time, Google cannot see the tag and may keep showing the URL. Google's guide to blocking indexing with noindex explains this.
The Removals tool hides URLs from results temporarily. Google's Removals tool help page covers how long that lasts. Pair it with noindex, password protection or deletion so the pages do not return.
How do you take a site fully offline?
Take a full backup, then either delete the WordPress files and database from your host, point the domain away from the server, or ask your host to suspend the account.
Before you remove anything:
- Download a complete backup of files and database
- Export any content you might reuse
- Save copies of images and uploads
- Note any email accounts that use the same domain
Our guide on backing up a WordPress site walks through a full backup.
Watch out for email. If your mailboxes run on the same hosting account, cancelling hosting or changing DNS can stop email too.
On WordPress.com, there is a delete site option in the site settings. Deleting is permanent once the grace period ends, so export your content first.
Which method should you pick?
Pick maintenance mode for short breaks, coming soon mode or WordPress.com Private for longer builds, password protection for client reviews, and deletion only when you are sure the site is finished for good.
A quick guide:
- Fixing something for a few hours: maintenance mode
- Rebuilding over weeks: coming soon page plus noindex
- Sharing with a small group: host password or WordPress.com Private
- Pausing a blog but keeping posts: set content to draft and add a holding page
- Closing the business or project: back up, then delete
If you only want a quiet copy for work in progress, a staging site may suit you better than hiding the live one. When you are done with it, see our guide on deleting a WordPress staging site.
How do you put the site back online?
Reverse the step you took, such as turning off coming soon mode, removing the password, changing content back to Published, or setting WordPress.com visibility to Public.
Then do a quick check:
- Turn off Discourage search engines in Settings > Reading if you turned it on
- Clear your caching plugin and CDN caches
- Visit the site in a private window
- Resubmit your sitemap in Google Search Console
The last step helps search engines notice the site is back. Pages usually return to results after the next crawl, though timing varies.
Frequently asked questions
Can I temporarily unpublish my WordPress site?
Yes. Turn on maintenance mode for short breaks or a coming soon page for longer ones. Both hide the site from visitors while you keep full access to the dashboard, and you can switch them off at any time.
Will unpublishing my site hurt my SEO?
A short maintenance break with a 503 status rarely causes lasting harm. Hiding the site for weeks or removing pages can cause rankings to drop, and recovery takes time after you relaunch. Plan longer breaks carefully.
How do I make my WordPress.com site private?
Open your site settings and find the Privacy or Site Visibility section, then choose Private. Only you and users you invite can view the site. Choose Coming Soon instead if you want a public placeholder page.
Does deleting a WordPress site remove it from Google?
Over time, yes, as Google recrawls and finds the pages gone. For faster removal, use the Removals tool in Search Console. Results can still show for a while, so be patient after deleting the site.
Can I hide my site but still work on it?
Yes. Coming soon and maintenance plugins let logged-in admins see the real site while visitors see a holding page. Host-level password protection also works, as long as you share the password with the people who need it.
Sources
- Privacy settings WordPress.com Support
- Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd WordPress.org Plugin Directory
- Using Password Protection WordPress.org Documentation
- Block search indexing with noindex Google Search Central
- Removals and SafeSearch reports tool Google Search Console Help
- 503 Service Unavailable MDN Web Docs
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


