There are two ways people arrive at this topic. Some are tidying up: an old offer page, a service you no longer sell, three test pages a developer left behind. Others are mildly panicking, because a page has vanished from the site and they think someone deleted it by mistake.
Good news for both. When you delete a page in WordPress, it does not disappear at once. It goes to the Trash first, where it waits and can be put back. What follows covers how the Trash works, how to restore a page, when deleting is permanent, and what to do about the address of a page that is gone for good.
Before you delete: three quick checks
A page can be doing more work than it appears to. Spend a minute on these before removing anything:
- Is it your homepage or blog page? In the Pages list, those are marked “— Front Page” or “— Posts Page” next to the title. Removing one without changing Settings → Reading first leaves the site showing something you did not plan. Our guide to setting the homepage in WordPress shows that screen.
- Is it in a menu or linked from other pages? Menu items and links pointing at the page will lead nowhere once it is gone.
- Does it get visits or have links from other sites? If the page was ever useful, people and search engines may still be arriving at its address. You will want a redirect, covered further down.
If the answer to all three is no, go ahead.
How to delete a page in WordPress
From the Pages list:
- Go to Pages → All Pages.
- Hover over the page title. A row of links appears underneath.
- Click Trash.
To remove several at once, tick the boxes next to them, choose Move to Trash from the Bulk actions dropdown above the list, and click Apply.
From inside the editor, open the settings sidebar on the Page tab (our block editor guide covers that panel) and look for Move to trash at the bottom of the panel. Its position has shifted a little between versions, but it is always among the page’s own settings, not in the block settings.
The page disappears from the site straight away. Anyone who visits its address now gets your “not found” page.
How the Trash works
Trashed pages are kept separately. In Pages → All Pages, once something is in the Trash, a Trash link with a count appears at the top of the list beside All, Published and Drafts. Click it to see what is waiting there.
By default, WordPress empties the Trash automatically, permanently deleting anything that has been in it for more than 30 days. Your host or a developer may have changed that period, or switched the Trash off altogether, in the site’s configuration file. If your site seems to delete pages immediately with no Trash link, that is the likely reason, and worth knowing before you rely on it.
Posts, comments and most other content types have their own Trash that works the same way. Images and files in the Media Library are different: by default, deleting a file there is permanent straight away, with a warning before it happens.
Restoring a page from the Trash
- Go to Pages → All Pages and click the Trash link at the top.
- Hover over the page you want back.
- Click Restore.
Here is the part that surprises people. In current versions of WordPress, a restored page comes back as a Draft, not as published, even if it was live before. It will not reappear on your site until you open it and click Publish. This is deliberate: it gives you a chance to check the page before it goes public again.
When you publish it, check three things:
- The address. If someone created a new page with the same address while the old one was in the Trash, the restored page gets a slightly different slug, often with “-2” on the end. Fix the slug before publishing if you want the original address back.
- Menus. Look at your menu or Navigation block to confirm the page still appears where it should. Add it back if not.
- Homepage settings. If it was your front page, confirm it is selected again in Settings → Reading.
Content that a page builder created is restored with the page. Elementor and similar builders keep their own saved templates elsewhere, with their own trash, so look in the builder’s template list if a template rather than a page has gone missing.
Deleting permanently
Inside the Trash view, each item has a Delete Permanently link, and there is an Empty Trash button to clear everything. Both are final. WordPress removes the page, its revisions and its settings from the database, and there is no undo inside WordPress.
A few things are not removed with it:
- Images and files used on the page stay in the Media Library. Deleting a page never deletes its media.
- Links to the page from other pages remain, now pointing to a missing address.
- Copies in your backups remain, if you have backups.
Unless you are short of space or the content is sensitive, there is rarely a reason to empty the Trash by hand. Letting the automatic clean-up do it gives you a safety margin if someone realises later that a page was needed.
Getting back a page that is gone for good
Once a page is permanently deleted, your only route back is a backup. Restoring a whole-site backup to recover one page also rolls back every other change made since, so it is usually better to restore the backup to a separate copy of the site, copy the page content from there, and paste it into a new page on the live site. Our guide to backing up your WordPress website covers how backups work and where to keep them.
What to do with the address of a deleted page
When a page is gone, its address returns a 404 “not found” response. That is fine for a test page nobody ever saw. For a page that had visitors, links or a place in search results, it wastes them.
The usual fix is a 301 redirect: a permanent instruction that sends anyone visiting the old address to the most relevant page that still exists. If you retired a service, point it to the closest service you still offer, or to your services overview. Avoid sending everything to the homepage. A visitor who wanted one specific service lands somewhere generic and leaves, and Google may simply count such a redirect as a missing page.
Many SEO plugins and the Redirection plugin can set this up, and some offer to create a redirect when you delete a page. The steps are in our post on creating a 301 redirect. If you have removed a batch of pages at once, for example after a redesign, see our guide to fixing 404 errors after a redesign for a more systematic approach.
If you only want a page hidden for now, not deleted, there are gentler options: switch it to Draft or Private and it disappears from the public site while staying in your Pages list.
Habits that avoid trouble
- Delete pages one at a time when they matter, and check the Front Page and Posts Page labels first.
- When a page has disappeared and nobody admits deleting it, check the Trash and the Drafts filter before anything else. A page set back to Draft looks deleted from the outside.
- Give staff the role they need and no more, so not everyone can delete published pages. Roles and accounts have their own section in the WordPress site owner’s handbook.
- Write down any redirect you set up, with the reason. Future you will want to know.
Frequently asked questions
Can I change how long WordPress keeps items in the Trash?
Yes, but not from the dashboard. The period is set by a line in the site’s wp-config.php file, which can shorten it, lengthen it, or turn the Trash off so deletions are immediate. Editing that file carries risk, so ask your developer or host to make the change if you are not comfortable doing it.
Who can delete pages on my site?
By default, only Administrators and Editors can delete pages. Authors and Contributors cannot work with pages at all, though they can remove some of their own posts. If a page vanished, look at who has Editor or Administrator access, and consider an activity log plugin if you need a record of who did it.
How long does a deleted page stay in Google’s results?
Until Google next visits the address and finds it missing or redirected, which can take some time for a page it rarely checks. If the page contained something that must disappear quickly, such as personal details, Search Console has a removal tool for temporarily hiding a URL from results while that happens.
Is it safe to delete test pages a developer left behind?
Usually, once you have checked that none of them is set as the front page or posts page and none is linked from a menu. Drafts were never public, so they need no redirect. A test page that was published and picked up visits or links is worth redirecting to a real page after you delete it.
If a page has gone missing and it is not in the Trash, or a batch of deletions has left a trail of broken links behind, our WordPress bug fixing service can look into what happened and what can still be recovered, from ₹1,499 per incident onwards.