Do you want to unpublish a blog post from your WordPress Site?
There are several ways to unpublish your blog post in WordPress. All the ways give you different control over the action of unpublishing the blog posts.
In this article, I am going to tell you all the quick and easy ways to hide the post from your site.
Delete The Post
The quickest way to hide the post is to delete it. Deleting it will remove the post from your site immediately.
However, the post is not deleted entirely by this process. You can find the post in the Trash.
Restore it later if you need the post. But for the moment, the post will vanish from the homepage.
Draft the Post
Drafting the post will hide the post from all the visitors of the blog. But the admin would be able to find the post with other published posts.
Steps to unpublish the blog post in the Classic Editor:
- Login to your admin dashboard
- Open the post backend that you want to Unpublish
- Locate the Publish box on the page
- Check the Status of the Post
- Click on the Edit
- Select the Draft option
- Update the Post
Steps to unpublish a blog post in WordPress Block Editor:
- Login to your admin dashboard
- Open the post backend that you want to unpublish
- Locate the ‘Switch to Draft’ at the head of the page
- Click on it
- Confirm you want to Unpublish the Post
The post is no longer published on your blog. The URL of the post will open up a 404 page now. But only for the visitors.
The admin of the site and the author of the post will still see the post.
You can draft the posts within the dashboard itself without opening the post.
This way, you can unpublish many posts on the WordPress website quickly.
Make the Post Private
Another way to unpublish a post is to make it private.
When you draft a published post, you hide it from all of your site visitors. In the case of Private Post, only the logged-in member can see the post.
If any logged-out visitor opens the URL, the browser will display the 404 pages while the logged-in user would be able to read the post.
Always keep your WordPress Login security intact.
Steps to Private the blog post in the Classic Editor:
- Go to your admin dashboard
- Open the backend of the post you want to make Private
- Locate the Publish Box
- Check the status of the post
- Edit it
- Click on the Private
- Update the Post
Steps to Private the blog post in the Modern Editor:
- Go to your admin dashboard
- Open the backend of the post you want to make Private
- Find the Status and Visibility Section at the top right of the page
- Click on the Visibility option
- Make the Post Private
- Update the Post
The post is only visible to the Member, Editor, or Author of the site.
You can make the post private within the dashboard itself.
Use the Plugin
You can install a Plugin to get more control over the posts. WP Hide Post offers you more flexibility in hiding the post from certain parts of your sites.
After the activation of the plugin, the Hide Post box would be enabled. You can locate the Meta Box in the document section.
You can take complete control over the visibility of your post with this plugin. But it only hides the article from the pages.
A visitor with the link to the post would be able to find the post.
Purge the Cache
Don’t forget to purge the cache of the post or page that you unpublish or hide.
The browser, fine cache plugins and various CDN store the images of the entire posts for the faster delivery of content.
By purging the cache, you are deleting all of that stored content.
How to Unpublish WordPress Site?
You can unpublish your entire site by deleting it. That is one way to do it.
You can install a coming soon plugin and put it on your site. Then you can work on your site while the website will remain inactive as long as you want.
It is a simple yet effective method to unpublish the website.
Now you know how to unpublish a blog post in WordPress website, use any one of them. If there is any problem, do mention it in the comments.