Setup & site building · Guide
How to Remove a Page in WordPress (and Handle SEO Properly)

Short answer
To remove a page in WordPress, go to Pages > All Pages, hover over the page and click Trash. It stays in the trash for 30 days before WordPress deletes it permanently. If the page had traffic or links, add a 301 redirect to the closest related page so visitors and search engines do not hit a 404 error.
Key takeaways
- Trash removes the page from the site but keeps it recoverable for 30 days by default.
- Delete Permanently in the Trash view removes the page for good.
- To hide a page without deleting it, switch it to draft or private, or remove it from the menu.
- Pages with traffic or backlinks should get a 301 redirect to a relevant page.
- Search engines drop a removed page over time; Search Console can hide it faster in urgent cases.
Should you delete, hide or redirect the page?
Decide based on why the page should go: delete it if it is worthless, hide it if you may need it later, and redirect it if people or search engines still visit it.
Use this table to choose:
| Situation | Best option |
|---|---|
| Test page, duplicate or empty page | Move to trash and delete |
| Outdated page that still gets visits or has links | Redirect to the most relevant current page |
| Page you may bring back later | Switch to draft |
| Page only some logged-in users should see | Set visibility to private or password protected |
| Page that should stay live but not appear in Google | Add noindex in your SEO plugin |
| Page you only want out of the navigation | Remove it from the menu |
Before deleting, check the page in your analytics and in Search Console. A page with steady visits or links from other sites is worth a redirect.
How do you delete a page in WordPress?
Go to Pages > All Pages, hover over the page title and click Trash, or open the page and choose Move to trash in the editor's settings panel.
To delete several pages at once:
- Go to Pages > All Pages
- Tick the box next to each page
- Choose Move to Trash from the Bulk actions menu
- Click Apply
The Pages screen documentation explains every option on that screen, including filters that help you find old pages.
If the page is set as your homepage or posts page under Settings > Reading, choose a different page there first. Otherwise your homepage setting will point to a page in the trash.
How do you permanently delete or restore a trashed page?
Open the Trash link at the top of the Pages screen, then click Delete Permanently to remove a page for good, or Restore to bring it back.
WordPress empties the trash automatically after 30 days. Site owners and developers can change that with the EMPTY_TRASH_DAYS setting in wp-config.php.
Restored pages return as drafts in recent WordPress versions, so remember to publish them again if needed.
Permanent deletion cannot be undone from the dashboard. Only a backup can bring the page back after that.
If you are unsure, leave pages in the trash for the full 30 days. They do not appear on the site or in search while they sit there, so there is little reason to rush.
How do you hide a page without deleting it?
Switch the page to draft, set it to private, protect it with a password, or keep it live but remove it from menus and search results.
In the editor, open the page settings panel and click the status:
- Draft: the page disappears from the site but stays editable in the dashboard
- Private: only logged-in editors and administrators can see it
- Password protected: visitors need a password to view the content
To keep a page reachable by link but out of Google, add a noindex tag with your SEO plugin. Google describes how this works in its guide to blocking indexing with noindex.
Do not use robots.txt to hide a single page. It blocks crawling, but the URL can still appear in search results without a description.
How do you remove a page from the menu?
Take it out of the navigation without touching the page itself, by deleting it from the Navigation block in block themes or from Appearance > Menus in classic themes.
In a block theme, go to Appearance > Editor > Navigation, open your menu, select the page link and remove it. Save the menu.
In a classic theme, go to Appearance > Menus, expand the page item and click Remove, then Save Menu.
Check for the page in other places too, such as footer menus, sidebar widgets and buttons inside other pages. Our guide to finding broken links in WordPress helps you catch internal links that still point to it.
Should you redirect a deleted page?
Yes, if the page had visitors, backlinks or rankings, add a permanent 301 redirect to the closest related page so that traffic and link value are not lost.
Without a redirect, visitors see a 404 error. That is fine for pages nobody used, but wasteful for pages that earned links.
Redirect to a page that answers the same need, not just the homepage. A redirect to an unrelated page may be treated like a missing page anyway.
You can add redirects with a redirect plugin, many SEO plugins, or your host's redirect tool. Our guide on fixing 404 errors for SEO explains when to redirect and when to let a page go.
If there is truly no replacement, a 410 Gone status tells search engines the removal is intentional. MDN describes the 410 status code and how it differs from 404.
How do you remove a deleted page from Google?
Search engines drop a deleted or redirected page on their own after they crawl it again, and the Removals tool in Search Console can hide it faster in urgent cases.
For normal pages, simply deleting or redirecting is enough. Google recrawls the URL, sees the 404, 410 or redirect, and updates its results over days or weeks.
If the page contained something that must disappear quickly, such as personal data, use the temporary removal request in Search Console. Google's guide to removing your site's content from search covers the options.
Also remove the page from your XML sitemap. Most SEO plugins do this automatically once the page is no longer published.
How do you clean up many old pages at once?
Audit the pages first, sort them into keep, update, redirect and delete, then remove them in small batches with a backup in place.
Large cleanups often follow a demo import or years of publishing. Demo content from a theme can add dozens of sample pages, and old campaigns leave landing pages nobody visits.
A simple process keeps it safe:
- Export a list of pages with their URLs from the Pages screen or an SEO plugin
- Add traffic and backlink data for each URL from your analytics and Search Console
- Mark each page as keep, update, redirect or delete
- Add redirects for the pages you are removing that still have value
- Trash pages in small groups and check the site after each group
- Empty the trash only after a week or two without problems
Developers can do the same from the command line with WP-CLI, which lists and deletes pages by ID. That is faster for hundreds of pages but easier to get wrong, so test the command on a staging copy first.
Thin pages with almost no content, such as empty tag-style landing pages, often do more harm than good. Merging them into a stronger page with a redirect usually serves visitors and search engines better than keeping many weak pages.
What if a page will not delete or keeps coming back?
If the Trash link is missing, your user role may not allow deleting pages; if a page keeps reappearing, a plugin, import or page builder may be recreating it.
Check these causes:
- No Trash link: only Editors and Administrators can delete pages written by others
- Page reappears: WooCommerce, membership and form plugins recreate pages they need, such as Cart or Account
- Still visible after deleting: a cache or CDN serves the old copy, so purge it
- Error when trashing: a plugin conflict or the REST API is blocked
WooCommerce's Cart, Checkout and My Account pages should not be deleted while the store is active. Reassign them in the plugin's settings if you want new versions.
If you are deciding whether content belongs on a page or a post in the first place, see our guide to posts vs pages.
Frequently asked questions
Can I recover a deleted page in WordPress?
Yes, if it is still in the trash. Go to Pages, open the Trash view and click Restore. Pages are kept for 30 days by default. After permanent deletion, only a backup can bring the page back.
Does deleting a page in WordPress delete its images?
No. Images stay in the media library even after the page is deleted. Remove them from Media > Library separately if no other page uses them, so you do not break images elsewhere.
Will deleting a page hurt my SEO?
Deleting a page with no traffic or links has little effect. Deleting a page that ranked or earned backlinks loses that value unless you redirect it to a closely related page with a 301 redirect.
How do I hide a page from visitors but keep it?
Switch the page to draft or private in the editor's status setting. A draft disappears from the site, while a private page is visible only to logged-in editors and administrators.
Why is my deleted page still showing on my site?
A page cache or CDN is probably still serving the old copy, or a menu still links to it. Purge every cache layer, check your menus, and test the page address in a private browser window.
Sources
- Pages Screen WordPress.org Documentation
- Block Search indexing with noindex Google Search Central
- Remove your site's content from Google Google Search Central
- 410 Gone MDN Web Docs
- Editing wp-config.php: empty trash WordPress Developer Resources
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.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


