Amazon's Early Black Friday Deals are going live now. Check out here.

How to Delete Posts and Pages on WordPress

You can delete WordPress posts or pages if you do not want it anymore.

It is a simple task, and it can be done within a minute. Let's see how to do this task.

Delete WordPress Post or Page

In this instance, I am deleting a single post. The same is the steps for deleting a page.

  • angle-right
    Log into your WordPress blog.
  • angle-right
    Go to "Posts."
  • angle-right
    Hover the mouse over the one that you want to delete.
  • angle-right
    Now you can see "Trash" link. Click on it.
Trash link beneath WordPress post

It will delete the post and move it to the "Trash" section. Here you need to keep two things in mind:

  • The post did not get deleted permanently.
  • The post you have deleted is still available in the "Trash" section, from where you can restore it or delete it permanently.
  • Also, note that the "Trash" section will appear only in the "Posts" when there is a deleted post on your blog.

So, if you want to delete the post permanently, then you need to do three more steps:

  • angle-right
    Go to "Trash" section.
  • angle-right
    Hover the mouse over the post you want to delete permanently.
  • angle-right
    Hit the "Delete Permanently" link.
Delete Permanently Link

Delete Multiple WordPress Posts or Pages at Once

In this instance, I am doing the task on posts. However, the same is the steps for pages.

  • angle-double-right
    Go to "Posts."
  • angle-double-right
    Select the posts that you want to delete.
  • angle-double-right
    Now, open the drop-down list at the top and choose the "Move to Trash" option.
  • angle-double-right
    Hit the "Apply" button. That's it. The posts are deleted.
Apply button on WordPress

The posts you have deleted will be taken down from your site and moved to the "Trash" section. However, you need to do few more steps to remove them permanently.

  • angle-double-right
    Go to "Trash" section.
  • angle-double-right
    Select all the posts that you want to delete.
  • angle-double-right
    Select "Delete Permanently" from the drop-down list at the top and then click "Apply" button.
Apply Button

Notes:

If you want to delete all posts of "Trash" section at once, then just click on "Empty Trash" button.

By default, the WordPress only shows 20 posts on a screen.

However, If you want to selectively delete hundreds of posts, then you need to change the number of posts shown on a single screen as per your need. So that you can select and delete them at once using above steps.

Let's say, you have 320 posts and want to delete 315 posts except the first five posts. To do that, here are the steps you need to follow:

Open "Screen Options" at the top. Change the "Number of items per page" to 320 and then click "Apply" button.

Apply Button within Screen Options

Now, you can see the 320 posts on a single screen. Apply the above steps to delete them.

I've tried above instance and successfully deleted 315 posts using the above steps. So, give this method a try if you want to delete selectively hundreds of posts.

After you permanently deleted the posts, you can change the "number of items per page" option to any number as per your need.

Delete all WordPress Posts or Pages at Once

  • angle-double-right
    Install the "Bulk Delete" plugin. Take a look at this guide if you need any help with installing the plugin.
  • angle-double-right
    Once activated, Hover the mouse over "Bulk WP" section. Click "Bulk Delete Posts" if you want to delete all posts. If you want to delete all pages, choose "Bulk Delete Pages."
  • angle-double-right
    In this instance, I am doing for posts. However, the same is the steps for the pages.
  • angle-double-right
    Select the "post status" as per your need. In this instance, I have Published Posts alone, and I want to delete all of them. So, I am choosing "All Published Posts."
  • angle-double-right
    Under "Choose your filtering options" section, choose "Delete permanently" option.
  • angle-double-right
    Hit "Bulk Delete" button.
Bulk Delete button of Bulk Delete plugin
  • angle-double-right
    On the confirmation popup, click "OK" button.

Redirection and Final Thoughts

When you delete a category, page or post, it will show 404.

For instance, I am deleting this post (https:https://www.technologyhint.com/how-to-create-facebook-account-on-pc). After I remove this post when someone tries to access this post, he or she will see a 404.

404 does not provide the good user experience.

So, you can consider redirecting when you have met any one of the following conditions:

  • The deleted URL receives links from other sites, and you have relevant content on your site.
  • The deleted URL receives traffic, and you have relevant content on your site.

If you have met any of the above conditions, then redirect the deleted post, page or category URL with the URL of the relevant content.

For instance, I have met the first condition - having links for the deleted post, and I have relevant content (https:https://www.technologyhint.com/how-to-create-facebook-account-using-facebook-app). In this case, I can make a redirect.

I suggest you to use Redirection plugin for this task. Install and activate the plugin, put the old URL (the deleted URL) and new URL (the URL to which you want to redirect the readers who visit deleted URL), click on "Add redirect" button.

In case, there is no relevant content on your blog to redirect, then you can consider creating one and then redirect to it only when the deleted URL have links or traffic, and you do not want to lose it.

If you have not met any of the above said, then just leave the 404 as it is and it is entirely "Okay" to do so.

You can use the above conditions for handling 404 which occurs while changing URL.

The above is the suggestion I have regarding 404. However, you can handle 404 on your blog as per your wish.

I hope that the information in this post is useful to you. Share this one with your friends, if you like the information in this post.

How to Delete Posts and Pages on WordPress

Click to Tweet This Post

Also see: