Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Blogging & content · Guide

How to Delete a Blog Post on WordPress (Step by Step)

How to Delete a Blog Post on WordPress (Step by Step)

Short answer

Go to Posts and then All Posts, hover over the post and click Trash. The post leaves your site but stays restorable for 30 days by default. To remove it for good, open the Trash view and click Delete Permanently.

Key takeaways

  • Trash hides a post; Delete Permanently removes it from the database.
  • WordPress empties the Trash automatically after 30 days by default.
  • Use Bulk actions to trash many posts at once.
  • Redirect deleted posts that still get traffic or backlinks.
  • Drafts, private posts and passwords hide content without deleting it.

How do you delete a blog post on WordPress?

Go to Posts > All Posts, hover over the post and click Trash, then open the Trash view and click Delete Permanently if you want it gone for good.

Deleting in WordPress is a two-stage process. The first click moves the post to the Trash, where you can still restore it. The second, in the Trash view, removes it from the database.

By default, WordPress empties the Trash automatically after 30 days. That gives you a safety window if you remove the wrong post.

ActionWhereCan you undo it?
Move to TrashPosts list or editorYes, restore from Trash
Delete PermanentlyTrash viewNo, only from a backup
Empty TrashTrash viewNo
Switch to DraftEditorYes, publish again any time
Make PrivateEditor visibility settingYes

Step 1: Back up before deleting anything important

Take a backup or export the post first if there is any chance you will want it later, because permanent deletion cannot be undone from the dashboard.

For a single post, the simplest copy is Tools > Export, choosing Posts and filtering by author or date. That creates an XML file you can import again.

You can also copy the post content into a text file. It is crude, but it keeps the words if you only care about the writing.

Note any links pointing to the post from other pages on your site. After deletion, those internal links will break, so you will need to update or remove them.

For full peace of mind, use your host's backup tool or a backup plugin. Our guide on backing up WordPress without a plugin covers manual options.

Step 2: Move the post to the Trash

In Posts > All Posts, hover over the title and click Trash, or open the post in the editor and click Move to trash at the bottom of the settings sidebar.

The post disappears from your site right away. Visitors who follow an old link will see a 404 page unless you add a redirect.

WordPress shows an Undo link at the top of the list after trashing. Click it straight away if you picked the wrong post.

You need permission to delete. Administrators and Editors can delete any post, Authors can delete their own published posts, and Contributors can only delete their own unpublished drafts. The Roles and Capabilities page lists the exact rules.

Step 3: Delete several posts at once

Tick the checkboxes next to the posts, choose Move to Trash from the Bulk actions dropdown and click Apply.

To select more posts per page, open Screen Options at the top right and raise the Number of items per page. Setting it too high can slow the screen or time out on cheap hosting.

Use the filters above the list to narrow things down. You can filter by date, category or post status before selecting.

The search box helps too. Type a word from the titles you want to remove, then select the results.

Double-check the selection before clicking Apply. Bulk actions are fast, and it is easy to tick one post too many.

Step 4: Delete the post permanently

Click the Trash link above the posts list, hover over the post and choose Delete Permanently, or click Empty Trash to remove everything there.

Once deleted permanently, the post, its revisions and its custom field data are removed from the database. Images used in the post stay in the Media Library.

Comments on the post are removed with it as well. If the discussion matters, export or save it before deleting.

Category and tag terms stay in place even if no posts use them anymore. Clean up empty categories under Posts > Categories if you want a tidy list.

If you want to delete those images too, do it separately in Media. Check first that no other post uses them.

How do you restore a deleted post?

Open the Trash view, hover over the post and click Restore; it returns to your posts list as a draft in recent WordPress versions, so publish it again when ready.

Restoring only works while the post is still in the Trash. After it is emptied, the only way back is a backup.

If you restore an old backup to recover one post, you may lose newer changes. A safer route is to restore the backup on a staging site and copy the post across.

How do you change how long posts stay in the Trash?

Add the EMPTY_TRASH_DAYS constant to wp-config.php with the number of days you want, or set it to 0 to skip the Trash entirely.

For example, this keeps trashed items for seven days:

define( 'EMPTY_TRASH_DAYS', 7 );

Setting it to zero means every delete is permanent immediately, so use that with care. The wp-config.php documentation explains this and other constants.

Our guide on where to find wp-config.php shows how to open the file safely.

Should you delete a post or redirect it?

If the post has backlinks or traffic, redirect its address to the closest related post instead of leaving a 404; if it has neither, deleting it is fine.

Old posts can still earn links from other sites. Deleting them throws that value away and leaves readers at a dead end.

A 301 redirect sends visitors and search engines to a new page. Many SEO plugins include a redirect manager, and our guide on Yoast SEO redirects shows one way to set it up.

If the content is gone for good with no replacement, a 404 or 410 status is acceptable. Google explains how it treats these codes in its HTTP status code guide.

The 410 Gone status tells browsers and crawlers the page was removed on purpose. Some redirect plugins let you set it per URL.

Do not redirect every deleted post to your homepage. Search engines often treat that as a soft 404, and readers find it confusing.

Should you update an old post instead of deleting it?

Often yes; refreshing an outdated post keeps its address, links and history, which usually helps search rankings more than starting again.

Ask whether the topic is still useful. If it is, update facts, screenshots and dates rather than removing it.

Our guide on updating old posts for SEO explains a simple refresh process. Merge thin posts on the same topic into one stronger article and redirect the rest.

What are the alternatives to deleting?

You can switch a post back to draft, make it private, or password protect it, which hides it from visitors while keeping the content.

To unpublish, open the post and switch it to draft from the status option in the settings sidebar. The post leaves your site but stays in the editor.

Private posts are visible only to logged-in Editors and Administrators. Password-protected posts stay public but need a password to read.

Pages work the same way. See our guide on removing a page for the page version of these steps.

If you only want a page offline for a while, our guide on unpublishing a page covers the draft and private options in more detail.

Why can't I delete a post?

Usually your user role lacks permission, a plugin is blocking the action, or the post belongs to a custom post type with its own rules.

Check your role in Users > Profile. Contributors cannot delete published content.

If you are on a site someone else manages, ask an Administrator to change your role or delete the post for you.

If the Trash link is missing for everyone, deactivate plugins one by one to find the cause. Membership, editorial and security plugins sometimes restrict deletion.

On very large sites, bulk deletes can time out. Delete fewer posts at a time, or use WP-CLI from the command line if your host allows it.

Frequently asked questions

Can I recover a permanently deleted WordPress post?

Not from the dashboard. Once a post is deleted permanently or the Trash is emptied, it is removed from the database. The only way back is a backup from your host or a backup plugin taken before the deletion.

Does deleting a post delete its images?

No. Images and other files uploaded with the post stay in the Media Library. Delete them separately in Media if you no longer need them, after checking that no other post or page uses them.

How long do deleted posts stay in the WordPress Trash?

Thirty days by default. After that, WordPress removes them automatically. You can change the number of days with the EMPTY_TRASH_DAYS constant in the wp-config file, or set it to zero to skip the Trash.

Will deleting a post hurt my SEO?

It can if the post had traffic or backlinks, since visitors and search engines will hit a 404 page. Redirect the address to a closely related post, or update the post instead of deleting it.

How do I delete a post on the WordPress mobile app?

Open the Posts list in the app, find the post and use its menu to move it to the Trash. Permanent deletion is available from the Trashed filter. Menu names can change between app versions.

Sources

  1. Roles and Capabilities WordPress.org Documentation
  2. Editing wp-config.php WordPress Developer Resources
  3. How HTTP status codes affect Google Search Google Search Central
  4. wp post delete WP-CLI Commands

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.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.