How To Unpublish WordPress Site?

We’re gonna all things related to unpublish WordPress site in detail through this blog post from the WordPress A and Q blog.

There may be occasions when you want to temporarily shut down your blog, regardless of the type of blog you operate. It might be a working website that you wouldn’t want visitors to see or a damaged site that has been put into standby mode.

Whichever the cause, there are various options for shutting down your WordPress site. It is extremely suggested to include a coming very soon page telling visitors that the site is not yet ready. On the server side, you could also password protect the folders.

You might be amazed at how simple it is to go into draught mode on published pages, posts, as well as the whole website. Let’s take a look at a couple of alternatives for keeping your WordPress content dormant. Then we should know how to unpublish WordPress site step by step.

Look here; WordPress Change Link Color

Step 1: Create a WordPress page or post.

When you draught a published WordPress page/post, it becomes hidden to your site’s users. The draught page/post can, nevertheless, be viewed by the administrator and anyone else with entry to the WordPress panel.

How to Use the Classic Editor to Create a WordPress Press Page or Article

The procedures to draught the page/post utilizing WordPress’s traditional editor are as follows:

  • Go to your WordPress dashboard and log in.
  • Choose the post/page you would like to unpublish from the ‘Posts’ menu.
  • On the sidebar, search for the ‘Publish’ segment.
  • In that part, look for the ‘Status’ choice.
  • Select ‘Edit’ from the drop-down menu.
  • Choose ‘Draft’ from the drop-down menu.
  • Below, click the ‘Update’ option.

How to use Block Editor to Create a WordPress Press Page or Post

This procedure would be considerably easier if you’re using the most recent version of WordPress. Follow the instructions needed to get started:

  • Go to your WordPress dashboard and log in.
  • To unpublish an article, go to ‘Post’ and select it.
  • Select ‘Edit.’
  • Just at top of the page, search for the ‘Change to draught’ option.
  • Select it by clicking on it.
  • To verify that you want to unpublish the article, press the ‘OK’ option.

The post is no longer visible to your viewers. They’ll get a 404 error message because of the URL. Admin staff, on the other hand, will be able to see the post.

Look here; WordPress Add_menu_page

unpublish WordPress site Articles in Bulk in WordPress

Follow the procedures below to unpublish the pages in bulk.

  • Go to your WordPress admin area and log in.
  • Choose ‘All Posts’ from the ‘Posts’ menu.
  • Pick the posts you want to remove from the site.
  • Click ‘Edit’ from the drop-down menu once you’ve chosen the articles.
  • Select ‘Apply’ from the drop-down menu.
  • Look for the item ‘Status.’
  • Choose the ‘Draft’ option by clicking on it.
  • And save your changes, click the ‘Update’ option.

You’ve unpublished the articles in bulk effectively. Return to the same location & choose the ‘Published’ button to reverse the operation.

Step 2: Make the WordPress Post/Page Private

One option for unpublishing a WordPress article is to use this method. The strategy described above keeps the posts hidden from all viewers. This strategy accomplishes the same goal. Users who are logged in, though, could still see the post. A 404 error message will appear to logged-out visitors.

  • Inside the Classic Editor, you can make a WordPress post/page secret.
  • Just go to your WordPress admin area and sign in.
  • Choose the post/page you would like to unpublish from the ‘Posts’ menu.
  • Just on the right sidebar, look for the ‘Publish’ option.
  • Select the ‘Accessibility’ option.
  • Choose ‘Private.’
  • Then press the ‘Update’ button.
  • You’ve completed your task.

In Block Editor, make the WordPress post/page private.

  • Just go to your WordPress dashboard and log in.
  • To unpublish a post or page, go to ‘Post’ and select it.
  • Select ‘Edit.’
  • The ‘Documents’ block should be shown on the right side of the page.
  • Select ‘Status and Availability’ from the drop-down menu.
  • Choose ‘Private’ from the ‘Visibility drop-down menu.
  • Check that you want the post to be published in private mode.
  • You’ve completed your task.

The post is only viewable to those who are logged in.

You could also keep a post secret without actually opening it. And here is the how to do it:

  • Just go to your WordPress dashboard and sign in.
  • Choose ‘All Posts’ from the ‘Posts’ menu.
  • Choose the post you’d want to make private.
  • Click ‘Edit’ from the drop-down menu after you’ve selected the post.
  • Then press the ‘Apply’ button.
  • Search for the item ‘Status.’
  • Choose the ‘Private’ option by clicking on it.
  • And save your adjustments, hit the ‘Update’ option.
  • You could even make several articles secret at the same time. Pick all of the posts you want to modify then hit before choosing ‘Edit’ from the drop-down menu.

Step 3: Unpublish a WordPress Page/Post Using a Plugin

The WP Hidden Post plugin is recommended if you want more management over your page/post. The plugin gives you the option of hiding a post from a certain area of your website. Using the WordPress Hidden Article plugin, follow these instructions:

  • Just go to your WordPress dashboard and log in.
  • Just on the left side, go to the ‘Plugins’ menu and select ‘Add Another.’
  • Enter ‘WordPress Hiding Article’ into the search field.
  • Activate and run the plugin.
  • Choose the article you would like to hide from the list of posts.
  • ‘Hidden Posts’ shows as a new support box in the right corner.
  • Choose your preferred option.

Technique 4: Conceal Pages/Posts Based on the User Roles

You’ll have to install the Password Guard WordPress plugin to conceal your page/post based on the user roles. That plugin allows you to restrict access to your posts based on user permissions. And here is what you should do:

  • Be at your WordPress dashboard and log in.
  • Select ‘Plugins’ and afterward ‘Add Fresh.’
  • Look for the plugin ‘Password Protect WordPress.’
  • Obtain & install the plugin.
  • Then, navigate to the post you’d like to hide & select ‘Edit.’
  • Just on the right panel, you’ll notice a new option ‘Password Secure WordPress.’
  • At the bottom, select the ‘Edit button.
  • Choose the role to update the password from the Role fall box.
  • In the ‘Password’ area, type your password.
  • After you’ve completed the form, hit the ‘Submit’ button below.

How To Unpublish A WordPress Site (Step 5)

You could also disable the entire website. Here are approaches:

  • Are using Dashboard Options in WordPress
  • Go there to your WordPress dashboard and sign in.
  • ‘Properties’ is located at the bottom of the page.
  • Then select ‘Read’ from the drop-down menu.
  • The checkbox next to ‘Web search display choice’ as you go down.

Note that if your site is linked to other sites, it would still be displayed. Just use the method below to completely conceal your website.

WordPress Plugin for Password Protection

  • Be at your WordPress dashboard and sign in.
  • Select ‘Plugins’ and then ‘Add Fresh.’
  • Look for the plugin ‘Password Protect WordPress.’
  • Enable & install the plugin.
  • Search for ‘Password Protection WordPress’ on your admin side after installing the plugin. Select it by clicking on it.
  • The ‘A whole Site’ option should be selected.
  • ‘Password Secure Whole Site’ is located at the bottom of the page.
  • Enter your password then save your modifications by clicking the ‘Save Changes’ icon below.
  • This strategy prevents search results from accessing your site by encrypting it with a password.

Remove the Page/Post (way 6)

This is the simplest method for unpublishing a WordPress page or post. Here’s how it’s done:

  • Been to your WordPress dashboard and sign in.
  • Select the post you want to delete from the ‘Posts’ menu.
  • You can move your cursor over it.
  • Choose ‘Trash’ from the drop-down menu.
  • This research method has adopted the post to the ‘Trash’ folder rather than deleting it.
  • Your project’s post is still hidden.
  • If you would like to go back in time, go into the ‘Rubbish’ menu and select ‘Backup.’

This is the last method related to the focused case unpublish WordPress site

How Then do I Back It up in My WordPress Database?

Even though most WordPress websites are vulnerable, we would not want to overstate the situation. You aren’t safe if you lose access to the system.

As well as the causes are numerous, ranging from equipment failures to hosting system failures to malicious cyber-attacks including plugin failure. This is why understanding how to restore your WordPress database (DB) is essential to avoid loss of data.

Even though there are several useful solutions for duplicating your WordPress website, we’ve chosen to go the manual route. Let’s think about it.

Once logged in, go to a sidebar within all possible databases & select the appropriate one (look for a database named ‘wp’). In the sidebar or primary page sections, click the data to see its inner file structure.

Those with several WordPress databases will also have their work cut out for them when it comes to locating a suitable database. We propose that you open ‘wp post’ and check the titles of the posts you wish to restore.

Hit the ‘Export’ tab at the top of a page if you’re comfortable with the dataset you’ve selected.

You’ll be led to a website with many choices after pressing the button. You can choose between a ‘Rapid’ or a ‘Manual’ export in this.

Most WordPress sites choose the ‘Quick’ exporting option and save files in SQL format. This arrangement preserves the WordPress site inside its current state, making it simple to restore to virtual systems in the latter.

When you’ve made your decision, click the ‘Save’ button to save documents.

Additional Stage: If you would not want to duplicate your complete WordPress site, you could use the ‘Custom’ exporting option. You’ll get led to a range of different portions of the site, from which you can uncheck the ones you would not want to backup.

If you’re not certain whether or not customized exporting is appropriate for you, consider explanations:

  • There was no need to store plugins because they may easily be reloaded on the other side.
  • It is not necessary to make a version for remarks on your website, particularly if you do not have a lot of traffic.
  • Whatever explanation you select, ensure the parts that aren’t needed are removed.
  • You’ll be taken to the ‘Outcome’ page once you’ve finished using the custom option. Until you can save the information, you must first pick ‘Save results to a document.’ Ensure you don’t skip this step, or phpMyAdmin would save the WordPress database for you.

Look here; How To Combine External JavaScript WordPress


Final Thoughts

Whenever the moment comes that you no longer wish to operate your blog, you have a few choices: unpublish WordPress site or back it up   It’s beneficial to understand how and where to unpublish a WordPress site or build a duplicate of its data, a matter which option you choose.

This guide is intended to provide you with all of the data you’ll need to make the whole thing go well. If you have any further queries, please contact the support or post them in the comment thread below. We’ll respond as soon as we can.

Adam
Adam is a developer and author at wpqanda, who is passionate about WordPress, digital marketing, and website builders. He enjoys sharing his knowledge through his writings.