
🗑 How to delete a website page without harming SEO
A page sat on your site for three years without bringing a single visitor, and you finally decided to delete it. You hit Delete in the WordPress admin panel, and a week later Search Console flooded you with 404 error notifications. Sound familiar?
Deleting a page seems harmless: select it, click a button, and problem solved. But search engine bots remember every URL that was ever in the index. When Google visits an old address and hits a dead end, it loses trust in your site. A dozen such "dead" pages, and the rankings of your entire domain start to slide.
The good news: you can control the process. We'll cover three scenarios, updating content, setting up a 301 redirect, and complete removal with the correct HTTP code, so you can choose the approach that fits your situation without harming search traffic.
💡 Quick overview:
- Evaluate the page before deletion: traffic, backlinks, whether you can improve the content instead of deleting
- If the page is outdated, update the information and publication date instead of deleting
- If the URL is changing or content is moving, set up a 301 redirect to a relevant page
- If the page is definitely not needed, return code 410 ("gone forever") instead of a silent 404
- After any changes, check Search Console and update internal links
Why delete a page at all?
Not every page deserves deletion just because it's old. Google doesn't penalize sites for content age, it penalizes for irrelevance. A three-year-old article that still answers a user's query can bring more traffic than something freshly published.
Real reasons for deletion typically come down to three situations:
- The content is hopelessly outdated. The information no longer matches reality, the product no longer exists, the instructions lead to broken interfaces.
- The page duplicates another. Two pieces of content compete for the same search query, the search engine doesn't understand which one to show, and ends up showing neither.
- The topic has gone beyond the scope of the project. The site shifted focus, and the old section no longer fits the structure.
Before deleting, check the numbers. Go to Google Search Console, open the performance report for the specific URL, and look: are there any clicks from search in the last 12 months? Are there external links to this page (Links → External report)? If there's no traffic and no links, deletion is safe. If there is traffic, think about updating first.

What to do instead of deletion: update the content
Deletion is a last resort, not the first reaction to old material. In many cases, it's enough to update the page:
- Rewrite the introduction and conclusion, adding current data
- Update screenshots and examples
- Check links, replace broken ones, update outdated ones
- Change the publication date to current
Google values content "freshness." When you update a page, the search bot sees the changes on its next crawl and may boost the material in search results. This is faster and safer than deleting the old and writing new from scratch, you preserve the accumulated "weight" of the URL and backlinks.
Alternative scenario: the content is so outdated that updating it is harder than writing from scratch. In this case, write new material and set up a 301 redirect from the old address to the new one, which is covered in the next section.
301 redirect: redirecting without losses

A 301 redirect is an instruction for the browser and search bot: "The page has moved permanently, go to the new address." Unlike simple deletion, a redirect passes almost all accumulated link weight to the new page. The user doesn't see an error, they instantly land on current material.
When a 301 redirect is mandatory:
- You moved content to a different URL within the same site
- You merged several old pages into one new page
- An old product is discontinued, but there's a similar model
How to set up a 301 redirect, three methods:
First and simplest for WordPress users, a plugin. Yoast SEO Premium contains a built-in Redirect Manager: when deleting a page, the plugin automatically offers to specify a URL for redirection. A free alternative is the Redirection plugin, installed on more than 2 million sites.
Second method, through the hosting panel. Go to your hosting's cPanel, find the "Domains" section and select "Redirects." Specify type 301, in the "Old URL" field enter the address of the page being deleted (without the domain, for example /staryj-post/), and in "New URL," the full address of the target page. This method works on any CMS, not just WordPress.
Third method, through .htaccess (for sites on Apache). Add the line:
1 Redirect 301 /staryj-post/ https://vash-sait.ru/novyj-post/
For Nginx the rule looks different, and it's usually added through the hosting panel in the server configuration section. Both methods don't require installing plugins but assume access to the site's file system.
After setting up the redirect, be sure to test it: open the old URL in your browser's incognito mode and make sure you're redirected to the new address without intermediate pages.
Server response codes: 404 versus 410, what and when to use
There are situations when a redirect isn't needed: the page has no equivalent on the site, and redirecting the user to the homepage means confusing them. In this case, the page is actually deleted, but what matters is which HTTP code the server returns.
Code 404: "Not found"

404 is the standard server response when the requested URL doesn't exist. The problem is that 404 doesn't tell the search engine the reason for the page's absence. Google sees 404 and thinks: "Maybe a temporary glitch? I'll recheck later." As a result, the URL stays in the index for weeks, and sometimes months, continuing to collect errors in Search Console.
If a visitor follows a link to a deleted page and lands on a standard white 404 page, they'll most likely close the tab. The bounce rate grows, and for search engines this is a signal that the site doesn't answer the user's query.
Code 410: "Gone forever"

410 is an unambiguous signal: "This page is gone, and it's not coming back." Google understands this message and removes the URL from the index significantly faster than with 404. The difference can be days instead of weeks.
When to choose 410 instead of 404:
- The page is permanently deleted, and there's no relevant equivalent on the site
- Content was removed for legal reasons and shouldn't be accessible in any form
- You cleaned up dozens of pages and want Google to process the changes as quickly as possible
Technically, 410 is configured through the same tools as a 301 redirect. The Redirection plugin supports code 410, Yoast SEO Premium too. In cPanel, instead of type "301" you need to select "410 Gone." If you're editing .htaccess manually, the syntax is:
1 Redirect 410 /staryj-post/
Important nuance: only return 410 if you're absolutely certain the page won't be needed in the future. You can restore it from a backup, but the search engine has already thrown the URL out of the index, and re-ranking will take weeks.
Step-by-step plan: how to delete a page correctly
If after evaluation you've definitely decided to delete, follow this sequence. It minimizes SEO risks and prevents the search engine from multiplying errors:
Find all internal links to the page being deleted. The Link Whisper plugin or free Better Search Replace will help locate mentions of the old URL in content. Replace them with links to current material or remove them entirely.
Check external backlinks. In Google Search Console, open the Links → Top linked pages report. If external sites link to the page, it's better to set up a 301 to the closest equivalent, this way you preserve link weight.
Set up a redirect or code 410. Use one of the methods described above. Don't leave the page deleted without redirection, this guarantees a growth in 404 errors in reports.
Update the XML sitemap. After deleting the page, regenerate the map, SEO plugins do this automatically, but it's better to double-check manually. Make sure the deleted URL has disappeared from the map.
Tell Google about the changes. Go to Google Search Console, enter the old URL in the inspection tool, and click "Request indexing." This speeds up the page recrawl and the search engine receiving the new HTTP code.
The last step is monitoring. For two to three weeks after deletion, watch the crawl errors report in Search Console. If new 404s appear on the deleted URL, it means there's an internal link somewhere that you missed.
⁉️🤔 Frequently asked questions
What's wrong with code 404 when deleting a page?
404 doesn't tell the search engine that the page was deleted intentionally. Google perceives it as "possibly a temporary problem" and continues rechecking the URL for weeks. During this time, errors accumulate in Search Console, and if there were external links to the page, they lead to nowhere. Code 410 removes both issues: the bot understands that deletion is permanent and removes the page from the index.
Can I just remove the page from the menu and not touch the URL?
Technically yes, but from an SEO perspective this is the worst option. The page remains indexed, it may have links from other site materials, but there's no navigation to it. You get an "orphan" URL without internal links, search engines rank such pages lower, and users can still land on them through search.
Is it mandatory to buy a plugin for redirects?
No. The free Redirection covers most typical tasks: 301, 302, 307, 410, tracking 404 errors and automatic redirects when changing slugs. Yoast SEO Premium is more convenient in that the redirect manager is built right into the page editing interface and offers redirection immediately upon deletion, but functionally free tools are not inferior.
What to do if the page was in Google's index for several years?
Set up a 301 to the closest topical equivalent, not to the homepage. The homepage's topic is too broad, and the search engine may consider such a redirect a "soft 404," when the page technically opens but doesn't contain what the user was looking for. It's better to redirect to a page in the same category or to an updated version of the same material.
How long should I keep a redirect after deletion?
At least a year. During this time Google will rebuild the index, external sites will update links, and regular visitors will get used to the new address. In practice, many webmasters keep 301 redirects indefinitely, they don't load the server and protect against accidental visits from old bookmarks.
Bottom line: when to delete and when not to
A quick cheat sheet for fast decisions:
- The page brings traffic or has external links, update the content, don't delete
- Content is outdated but the topic can be covered anew, write new material and set up a 301 from the old address
- The topic is no longer needed, there are no equivalents, set up code 410 and tell Google through Search Console
- The page duplicates another, keep one more complete version, put a 301 on the second
And most importantly: don't delete pages impulsively during a site cleanup. Every deletion is a micro-event for the search engine. A dozen deletions in one day can look like an attempt to manipulate the index. Delete one or two pages at a time, giving the search engine time to process changes.
If you're just starting to understand technical SEO, check out our material on how Google bots work, understanding the mechanics of page crawling removes half the questions about why deletion doesn't go unnoticed.



