Ever wished you could take your WordPress site offline—whether for a quick redesign, troubleshooting, or privacy concerns? Knowing how to unpublish a WordPress site can be crucial during these times, protecting your content until you’re ready to share it again.

This article walks you through the steps to unpublish your site, explains your options—including temporary and permanent methods—and offers helpful tips for a smooth process. Let’s get your WordPress site hidden from the public in just a few clicks.

Related Video

How to Unpublish a WordPress Site: A Step-by-Step Guide

Unpublishing your WordPress site is a task that might seem daunting at first, but it’s actually quite straightforward once you understand your options. Whether you want to hide your website temporarily, restrict access, or take your site down while you make improvements, WordPress offers several ways to control your site’s visibility.

This guide will walk you through the various methods to unpublish a WordPress site—completely or partially—along with important considerations, tips, and practical advice.


What Does It Mean to Unpublish a WordPress Site?

Unpublishing a WordPress site means making it invisible to the public or search engines. This could be for a short period while you update content, or for longer stretches if your site is being overhauled or is no longer needed.

Common reasons to unpublish your site include:

  • Revamping or redesigning the website
  • Fixing errors or technical issues
  • Restricting access to specific users
  • Preparing to relaunch with new content
  • Pausing a business or blog temporarily

Importantly, unpublishing is different from deleting—you’re not erasing all your data or losing your hard work. Instead, you’re just changing its visibility.


Ways to Unpublish Your WordPress Site

There are several ways you can unpublish a WordPress site, depending on your goals. Let’s explore the most common and effective methods.

1. Making Your WordPress Site Private

If you want to hide your entire website from the public without deleting it, setting the site to private is a great option.

How to Make Your WordPress Site Private:

  1. Log into your WordPress dashboard.
  2. Navigate to Settings > Reading.
  3. Look for the section titled Search Engine Visibility.
  4. Tick the box that says Discourage search engines from indexing this site.
  5. Save changes.

Note: This asks search engines like Google not to show your site in results, but technically, visitors can still access your site if they have the direct URL.

Password Protecting Your Site:

For more robust privacy, install a password protection plugin:
1. Go to Plugins > Add New.
2. Search for “password protect” plugins.
3. Install and activate your chosen plugin.
4. Follow the plugin’s setup instructions to require a password for site access.

This restricts all visitors from viewing your site unless they have the password.


How to Unpublish WordPress Site in 2025 [Step-by-Step] - how do i unpublish a wordpress site


2. Under Construction or Maintenance Mode

Many site owners use a maintenance or “coming soon” plugin when unpublishing temporarily. This displays a custom message or page to visitors, letting them know the site is offline for updates.

How to Enable Maintenance Mode:

  1. Install a maintenance mode or coming soon plugin from the WordPress repository.
  2. Activate the plugin and configure your message and settings.
  3. Enable the maintenance mode.

Popular plugins let you customize the look and add contact information or estimated return times, reassuring your visitors that the downtime is intentional and temporary.

Benefits:
– Professional appearance during downtime
– Allows logged-in admins to see the site normally
– Easy to enable or disable


How to Delete WordPress Site or Unpublish Temporarily - WP Hive - how do i unpublish a wordpress site


3. Unpublishing Individual Pages or Posts

If you only need to hide certain pages or posts—not the entire site—WordPress makes this easy.

Steps to Unpublish a Page or Post:

  1. From your dashboard, go to Pages or Posts.
  2. Click on the title of the page or post you want to unpublish.
  3. In the Publish settings on the right, change the status from Published to Draft or Private.
  4. Update or save changes.

Draft: Only editors and admins can see it.

Private: Only logged-in users with permission can see it.

This method is perfect if you’re revising content or want to keep pages hidden until later.


4. Disabling Access with .htaccess or Hosting Settings

More technical users may choose to restrict access using server-level controls. This method isn’t always necessary for the average user but can be very effective for complete lockdown.

Common Server-Side Approaches:

  • Use .htaccess directives (for Apache servers) to require authentication or block all traffic except your IP.
  • If your host offers a maintenance mode, enable this feature in their hosting dashboard.
  • For more advanced setups, you can completely disable your site’s directory through your control panel.

Caution: Incorrect .htaccess changes can break your site. Always back up your .htaccess file before making changes.


5. Deleting the Site (For Permanent Removal)

If you’ve decided that your WordPress site should be removed entirely—rather than just unpublished—you can delete it.


How to Unpublish Your WordPress Site - Envato Tuts+ - how do i unpublish a wordpress site

How to Delete Your WordPress Site:

  1. Back up all your files and database in case you change your mind.
  2. If using WordPress.com, go to Tools > Delete Site.
  3. For self-hosted WordPress, use your hosting control panel to remove the files and database.

Warning: Deleting is irreversible. Always back up first.


Best Practices When Unpublishing Your WordPress Site

Unpublishing a website is more than flipping a switch. Keep these best practices in mind:

  • Communicate with Visitors: If you’re using maintenance mode, provide a clear message. Let people know why your site is down and a potential return date.
  • Test After Unpublishing: View your site in an incognito/private browser to ensure it’s inaccessible as intended.
  • Back Up Regularly: Before making any major changes, back up your website. This protects your work against accidents.
  • Consider SEO: Prolonged downtime or incorrect unpublishing methods can affect your rankings. Maintenance modes and “noindex” tags help minimize negative impact.
  • Check for Broken Links: If you unpublish specific pages, ensure no other pages or menus link to them, or you’ll create confusing dead-ends for users.

Pros and Cons of Each Method

Let’s look at the advantages and challenges of the most popular approaches to unpublishing.

Making Site Private or Password Protected

  • Simple to set up
  • Ideal for hiding content from the public
  • May not block all search engines immediately

Maintenance Mode Plugin

  • Looks professional for visitors
  • Easy to manage
  • Some features may be paid or limited in free plugins

Unpublishing Individual Pages

  • Good for partial updates
  • Leaves the rest of the site accessible
  • Links to unpublished pages become broken


How to Unpublish a WordPress Site (4 Working Methods) - Hostinger - how do i unpublish a wordpress site

Server-Level Access Control

  • Most secure method for advanced users
  • Can lock everyone out, including admins, if not set up properly

Cost Considerations

Most unpublishing methods are free using built-in WordPress features or free plugins. However, premium plugins may offer advanced options like customizable maintenance pages, branding, or countdown timers.

Tips to Save on Costs:
– Start with free plugins—they often provide enough for basic needs.
– Only upgrade if you require advanced features for your maintenance mode page.
– Contact your host’s support—some providers offer site lock down or ‘parked domain’ features at no extra charge.


Common Mistakes to Avoid

  • Not Backing Up: Always save a copy of your site before big changes.
  • Forgetting to Disable Maintenance Mode: Once your site is ready, disable maintenance mode or visitors will remain locked out.
  • Leaving Sensitive Pages Exposed: Don’t leave admin or test pages public by mistake.
  • Assuming “Noindex” Is Foolproof: Some search engines may still index your site; combine this setting with password protection if privacy is critical.


How to Unpublish a WordPress Page (4 Simple Ways) - WPBeginner - how do i unpublish a wordpress site

Practical Advice for a Smooth Unpublishing Experience

  • Define Your Goal: Are you hiding your site temporarily, permanently, or just restricting who can access it?
  • Choose the Right Method: Maintenance mode for quick updates, site privacy for ongoing work, or password protection for maximum security.
  • Monitor Traffic: Use analytics to ensure no visitors are slipped through unintentionally.
  • Set Reminders: Schedule a reminder to bring your site back online when you’re ready.
  • Document the Process: Keep notes on what you changed, so reversing it later is easier.

Final Thoughts

Unpublishing your WordPress site doesn’t have to be stressful or complicated. Whether you’re working on improvements, taking a business break, or simply want to control who sees your content, WordPress provides flexible and user-friendly solutions. Always plan ahead, communicate with your visitors, and back up your data for a worry-free experience.


Frequently Asked Questions (FAQs)

How do I temporarily hide my WordPress site from the public?
You can activate a maintenance or under-construction mode using a plugin. This displays a message to visitors while you continue to work behind the scenes. Alternatively, password-protect your site to restrict access.

Will unpublishing my site remove it from Google search results?
Not immediately. Use the “Discourage search engines from indexing this site” setting, but remember it may take time for search engines to update. For faster results, you can add a “noindex” meta tag or remove your site from Google Search Console.


How to Unpublish a WordPress Site: Step-by-Step Guide - DevDiggers - how do i unpublish a wordpress site

Can I unpublish only some pages and leave the rest of my site live?
Yes. Edit the page or post in the WordPress dashboard and change its status to Draft or Private. This hides individual content without affecting your entire site.

Is it better to password-protect my site or use maintenance mode?
Password protection is stronger if you want to keep your site completely private, such as for a membership site or internal projects. Maintenance mode is best for public websites undergoing updates, as it communicates your plans to visitors.

How do I bring my site back online after unpublishing?
Simply reverse your actions—disable maintenance mode, remove password protection, or change the visibility of your pages back to Published. Always double-check your site’s appearance in different browsers to confirm everyone can access it as intended.