How to Redirect Deleted Pages in WordPress

Deleting a page in WordPress does not necessarily mean its old URL should simply disappear. If the page has been indexed by search engines, linked from other websites, bookmarked by visitors or referenced elsewhere on your site, deleting it can leave behind a URL that returns a 404 error.

Redirecting a deleted page to a relevant replacement can help visitors reach useful content and maintain a cleaner URL structure. For permanent changes, a 301 redirect is commonly used to tell browsers and search engines that the old URL has moved to a new location.

This guide explains how to redirect deleted pages in WordPress, when to use a redirect, when a 410 response may be more appropriate, and how WPCodeForge Smart Redirects Pro can simplify the process.

What Happens When You Delete a WordPress Page?

When you delete a published WordPress page, its previous URL no longer points to that page. Unless another rule handles the request, visitors who access the old URL will generally receive a 404 Not Found response.

For example, suppose your website previously contained:

https://example.com/services

You replace that page with:

https://example.com/wordpress-services

If the original page is deleted without creating a redirect, visitors following the old URL may encounter a 404 error.

The problem can extend beyond direct visitors. The old URL may also exist in:

  • Search-engine indexes
  • Internal links
  • External websites
  • Social media posts
  • Email messages
  • Browser bookmarks
  • Advertising campaigns
  • Printed materials
  • Other websites’ resources

A deleted page can therefore continue to generate traffic long after the page itself has been removed.

Should You Redirect a Deleted WordPress Page?

Not every deleted page needs a redirect.

The most important question is whether there is a suitable replacement destination.

If the deleted page has been replaced by another page covering substantially the same subject, a redirect is often appropriate. If the content has moved to a new URL, redirecting the old address helps visitors and other systems find the new location.

For example:

Old URL:
/wordpress-redirect-guide/

New URL:
/wordpress-redirects/

A permanent redirect can connect the two URLs.

However, if a page has been permanently removed and there is no relevant replacement, redirecting it to an unrelated page can create a poor user experience. In such cases, allowing the URL to return an appropriate 404 response or deliberately using a 410 Gone response may be more suitable.

Use a 301 Redirect for Permanently Moved Pages

A 301 redirect indicates that a URL has permanently moved.

This is commonly appropriate when you have:

  • Replaced an old page with a new page
  • Changed a page URL
  • Consolidated several pages
  • Restructured your website
  • Renamed content
  • Moved content to another location
  • Replaced an old service page
  • Changed a product or category URL

For example:

/old-services/ → /wordpress-services/

A 301 redirect tells the requesting client that the old address should lead to the new destination.

For permanent URL changes, this is generally preferable to leaving the old URL as a broken page.

When Should You Use a 410 Instead?

A 410 Gone response communicates that content has been permanently removed and is intentionally no longer available.

This can be useful when:

  • The content has been permanently deleted
  • There is no suitable replacement
  • You do not want visitors redirected elsewhere
  • The old URL should be clearly treated as permanently unavailable

For example, imagine that a temporary campaign page existed at:

/summer-offer/

The campaign has ended and there is no replacement page. Redirecting it to an unrelated homepage may not be useful.

A 410 response can instead indicate that the resource has been deliberately removed.

The appropriate response depends on what happened to the original content and whether a genuinely relevant destination exists.

How to Redirect a Deleted Page in WordPress

There are several ways to create redirects in WordPress. The best approach depends on the size and technical requirements of your website.

Method 1: Use a WordPress Redirect Plugin

A WordPress redirect plugin provides a dashboard-based way to create and maintain redirect rules.

This is particularly useful when you regularly change URLs, delete pages, restructure content or manage a large website.

With a dedicated redirect system, you can create a rule such as:

Source: /old-page/
Destination: /new-page/
Status: 301 Permanent

The redirect can then be managed without manually editing server configuration files.

WPCodeForge Smart Redirects Pro is designed for this type of workflow. It provides a centralised interface for creating, organising, monitoring and maintaining redirects directly from the WordPress dashboard.

Method 2: Redirect Pages Through Server Configuration

Experienced WordPress administrators can also configure redirects at the server level.

For Apache servers, a simple permanent redirect can look like:

Redirect 301 /old-page/ /new-page/

Server-level redirects can be useful for websites with large numbers of stable rules or specific infrastructure requirements.

However, manually editing server configuration can introduce risks if rules are entered incorrectly. It can also make redirect management more difficult when many URLs are changing regularly.

For many website owners, managing redirects from WordPress provides a more accessible workflow.

Method 3: Use Code or Theme-Based Redirects

Redirects can also be implemented programmatically.

Although this can work for custom development requirements, it is not always the most convenient approach for routine website administration. Redirect rules can become difficult to find and maintain if they are distributed across theme files or custom code.

A dedicated redirect management system keeps these rules in a central location instead.

How to Redirect a Deleted Page with Smart Redirects Pro

WPCodeForge Smart Redirects Pro allows you to create redirects from the WordPress administration area without manually modifying .htaccess files.

To redirect a deleted page:

1. Identify the Old URL

First, determine the URL of the deleted page.

For example:

/old-about-page/

Check that this is the actual path visitors are requesting rather than simply relying on the page title.

2. Find the Replacement Page

Identify the most relevant replacement destination.

For example:

/about-us/

The replacement should make sense to visitors arriving through the old URL.

Avoid automatically redirecting every deleted page to the homepage. If a more relevant destination exists, use it.

3. Create the Redirect Rule

In Smart Redirects Pro, create a new redirect and specify the source path and destination URL.

For example:

Source: /old-about-page/
Destination: /about-us/

You can then select the appropriate redirect status.

4. Select a Permanent Redirect

If the deleted page has been permanently replaced, select a 301 redirect.

This establishes a permanent relationship between the old and new addresses.

Smart Redirects Pro also supports other response types, including 302, 307, 308, 410 and 451, allowing different URL situations to be handled individually.

5. Test the Redirect

After creating the rule, visit the old URL.

The request should be sent to the intended destination.

Testing is important because an incorrectly entered source path, destination or redirect condition can result in an unexpected response.

Automatically Create Redirects When Pages Are Deleted

Manually creating redirects works well for individual URL changes, but managing every deleted page manually can become time-consuming on larger websites.

Smart Redirects Pro includes automatic URL-change detection and can create appropriate redirects when content is deleted.

This can help reduce the maintenance required when WordPress content changes over time.

Automatic redirects should still be reviewed as part of normal website maintenance. A deleted page does not always have an appropriate replacement, and not every old URL should necessarily be redirected.

Find Deleted URLs That Are Still Receiving Traffic

One of the challenges with deleted pages is knowing which old URLs are still being requested.

Smart Redirects Pro includes a built-in 404 Monitor that records broken URL requests according to your configured monitoring settings.

The monitor can provide information such as:

  • Broken URL
  • Number of hits
  • Detection engine
  • Referrer
  • Last-seen information
  • Available redirect actions

This allows you to identify deleted URLs that are still receiving requests.

For example, if /old-service/ has received hundreds of 404 requests after the page was removed, it may be worth investigating whether a replacement page exists.

If there is an appropriate replacement, you can create a redirect rather than allowing the URL to continue returning a 404.

Use 404 Data to Find Redirect Opportunities

A 404 error is not automatically a problem.

Some requests are caused by bots, malformed URLs, obsolete resources or genuinely invalid addresses. Others may represent valuable traffic that is attempting to reach content that has moved.

Reviewing 404 activity helps distinguish between these situations.

A useful workflow is:

  1. Review frequently requested 404 URLs.
  2. Identify URLs associated with deleted or moved content.
  3. Check whether a relevant replacement exists.
  4. Create a permanent redirect where appropriate.
  5. Leave genuinely invalid URLs alone.
  6. Consider a 410 response when content has permanently disappeared without a replacement.
  7. Monitor the results.

This provides a more controlled approach than redirecting every missing URL to the homepage.

Redirects can help visitors who arrive at an old URL, but internal links should also be maintained.

If an article contains a link to a page that has been deleted, visitors may encounter a redirect or 404 response when following it.

Smart Redirects Pro includes an Internal Link Scanner that can identify published WordPress content containing internal absolute URLs that point towards missing destinations.

Once a broken internal link has been identified, you can update the link itself or create an appropriate redirect.

Fixing the internal link is generally preferable when you control the referring content, while a redirect can provide protection for external references and old URLs that you cannot update.

Redirect Multiple Deleted Pages Efficiently

Large websites can accumulate hundreds or thousands of old URLs.

Creating each redirect individually may not be practical during a major website restructuring.

Smart Redirects Pro supports CSV and JSON import and export, allowing redirect rules to be transferred between installations or prepared for larger migrations.

Redirect Groups can also help organise rules.

For example, you could create groups for:

  • Deleted pages
  • Website migrations
  • Old service URLs
  • Product changes
  • Blog restructuring
  • Campaign URLs
  • Legacy URLs

This makes large redirect collections easier to manage from the WordPress dashboard.

Redirect Entire Sections After a Website Restructure

Sometimes a website does not just contain one deleted page. An entire section may have moved.

For example:

See also  How to Redirect Old URLs in WordPress

/services/web-design/

might become:

/solutions/web-design/

If dozens of URLs follow the same structural pattern, creating individual rules may not be necessary.

Smart Redirects Pro supports prefix matching and regular expressions, allowing reusable redirect patterns to be created where appropriate.

This can be particularly useful during:

  • Website redesigns
  • Domain migrations
  • Permalink changes
  • Category restructuring
  • Content reorganisations
  • Large-scale URL migrations

Rules should be tested carefully before being applied broadly, particularly when using pattern-based matching.

Preserve Query Parameters When Necessary

Deleted or changed URLs may still receive requests containing query parameters.

For example:

/old-page/?utm_source=newsletter

The underlying destination may remain the same even though tracking parameters are attached to the request.

Smart Redirects Pro provides controls for query-parameter handling and tracking-parameter matching, including commonly used parameters such as:

  • utm_source
  • utm_medium
  • utm_campaign
  • utm_term
  • utm_content
  • gclid
  • fbclid

These controls can help ensure that tracking parameters do not interfere with URL matching where they should not affect the underlying destination.

Avoid Redirect Chains

A redirect chain occurs when one redirect sends a visitor to another URL that then redirects again.

For example:

/old-page/ → /middle-page/ → /new-page/

It is generally better to keep the route as direct as possible:

/old-page/ → /new-page/

Redirect chains can make URL maintenance more complicated and may introduce unnecessary requests.

Smart Redirects Pro includes redirect diagnostics and a Prefer Direct Destinations option designed to help administrators review redirect destinations and keep moved URLs directed towards their intended final locations.

When changing your site’s URL structure, review existing redirect rules rather than continually adding new layers.

Check That Redirect Destinations Still Work

Creating a redirect is only part of the process.

The destination can become unavailable later because of another page deletion, a website migration or a change to the site’s structure.

Smart Redirects Pro includes a Redirect Health Check that can test active redirect destinations when requested.

This can help identify redirects pointing towards destinations that have become unavailable or otherwise problematic.

Regular checks are particularly useful on websites with large redirect collections.

Monitor Redirects After Deleting Pages

Redirects should not simply be created and forgotten.

Monitoring can show which rules are receiving traffic and which URLs continue to generate 404 requests.

Smart Redirects Pro provides analytics for redirect and 404 activity, including:

  • 404 hits over time
  • Redirect hit counts
  • Redirects receiving traffic
  • Last-hit information
  • Frequently accessed redirect rules
  • 30-day traffic trends

This information can help you determine which old URLs are still relevant to visitors and which redirect rules may need maintenance.

Common Mistakes When Redirecting Deleted Pages

Several mistakes can make URL changes harder to manage.

Redirecting every deleted page to the homepage

The homepage is not automatically a suitable replacement for every deleted page.

If a visitor requests a specific service or article, sending them to an unrelated homepage may not provide the information they expected.

Use the most relevant replacement available.

Using a temporary redirect for a permanent change

If a page has permanently moved, a permanent redirect is generally more appropriate than a temporary redirect.

Choose the response according to the actual purpose of the redirect.

Creating unnecessary redirects

Not every missing URL requires a redirect.

Some URLs are simply invalid or no longer relevant. Creating large numbers of unnecessary rules can make redirect management more complicated.

Redirects can protect visitors arriving from external sources, but internal links to deleted pages should also be corrected where possible.

Creating redirect chains

Avoid repeatedly redirecting old URLs through intermediate destinations.

Where possible, point the original URL directly to the current final destination.

Failing to test redirects

A redirect can be technically configured but still point to the wrong destination.

Always test important redirect rules after creating them.

A Practical Workflow for Deleted WordPress Pages

A structured process makes deleted-page management easier.

Step 1: Identify the deleted URL

Find the old URL and confirm that the content is no longer available.

Step 2: Check for a replacement

Look for the closest relevant page, article, product, service or other destination.

Step 3: Choose the appropriate response

Use a permanent redirect when the content has moved permanently. Consider a 410 response when the content has been deliberately removed and there is no suitable replacement.

Step 4: Create the rule

Add the source and destination to your redirect system.

Step 5: Test the old URL

Confirm that the request behaves as intended.

Step 6: Check internal links

Find and update internal links that still point to the deleted page.

Step 7: Monitor 404 activity

Review your 404 logs to identify other deleted URLs that continue to receive requests.

Step 8: Review redirect performance

Monitor redirect activity and check important destinations periodically.

This workflow helps keep deleted content from becoming a long-term source of broken links and unnecessary maintenance.

Why Use Smart Redirects Pro?

WPCodeForge Smart Redirects Pro is designed for website owners, developers and agencies that need more control over WordPress redirects.

Instead of manually editing .htaccess files or maintaining redirect code across different parts of a website, redirect rules can be managed from a central WordPress interface.

See also  How to Find WordPress URLs That Need Redirecting

The plugin combines manual redirect management with tools for discovering and maintaining problematic URLs.

Key features include:

  • Create and manage redirects
  • 301 and temporary redirects
  • 410 Gone and 451 responses
  • Exact, prefix and regular expression matching
  • Automatic URL-change detection
  • Automatic deleted-page redirect creation
  • Intelligent 404 recovery
  • 404 monitoring
  • Redirect analytics
  • Internal link scanning
  • Redirect health checks
  • Redirect Groups
  • CSV and JSON import and export
  • Query-string controls
  • Tracking-parameter handling
  • Redirect scheduling
  • Redirect diagnostics
  • Security-focused 404 monitoring
  • REST API access
  • WP-CLI support
  • WordPress Multisite support

The result is a centralised system for handling old URLs, deleted content, website restructuring and ongoing redirect maintenance.

Keep Deleted WordPress Pages Under Control

Deleting a WordPress page is only one part of managing its old URL.

If the address has been published, indexed or shared elsewhere, it may continue to receive requests long after the content has been removed. Where a relevant replacement exists, a carefully configured permanent redirect can help visitors reach the correct destination and maintain a more consistent URL structure.

For deleted content without a suitable replacement, a 410 response may be more appropriate. Internal links should also be reviewed, and 404 activity should be monitored so that valuable broken URLs do not go unnoticed.

WPCodeForge Smart Redirects Pro brings these tasks together in one WordPress-based redirect management system. From individual deleted pages to large website migrations, it provides tools for creating, organising, monitoring, testing and maintaining redirects without requiring manual .htaccess editing.

For WordPress websites where URL changes are a regular part of content management, having a structured redirect workflow can make deleted pages much easier to manage.

Frequently Asked Questions

How do I redirect a deleted page in WordPress?

Create a redirect from the deleted page’s old URL to a relevant replacement URL. For a permanent move, a 301 redirect is commonly used. A WordPress redirect plugin such as Smart Redirects Pro can provide a dashboard interface for creating and managing the rule.

Should I redirect a deleted WordPress page to the homepage?

Not usually unless the homepage is genuinely the appropriate replacement. A more relevant page provides a better destination for visitors. If there is no suitable replacement, leaving the URL unavailable or using a 410 response may be more appropriate.

What redirect should I use for a permanently deleted page?

If the content has moved to a relevant replacement, a 301 permanent redirect is commonly used. If the content has been permanently removed and has no suitable replacement, a 410 Gone response may be appropriate.

Can WordPress automatically redirect deleted pages?

WordPress does not provide a comprehensive redirect-management system for every deleted-page scenario. A dedicated redirect plugin can provide additional functionality. Smart Redirects Pro includes automatic URL-change detection and can create redirects when content is deleted.

Can redirects help prevent 404 errors after deleting pages?

Yes. If a deleted page has a relevant replacement, redirecting the old URL can prevent visitors from receiving a 404 response. Monitoring remaining 404 requests can also help identify deleted URLs that need further attention.

How can I find deleted URLs that are still being requested?

A 404 monitoring system can record requests for URLs that no longer exist. Smart Redirects Pro includes a 404 Monitor that can show broken URLs, hit counts, referrers and other diagnostic information according to your configured settings.

Can I redirect several deleted pages at once?

Yes. Multiple redirect rules can be managed individually or imported using supported formats. Smart Redirects Pro supports CSV and JSON import and export, while prefix matching and regular expressions can help manage groups of URLs that follow consistent patterns.

Do I need to edit .htaccess to redirect deleted pages?

No. A WordPress redirect plugin can provide a dashboard-based alternative to manually editing .htaccess. Smart Redirects Pro allows redirects to be created and managed directly from WordPress.

What happens if I do not redirect a deleted page?

The old URL will generally return a 404 response unless another system handles it. This may be appropriate when the content has genuinely disappeared, but a redirect can be useful when the old URL has a relevant replacement.

Yes. Its Internal Link Scanner can identify published WordPress content containing internal absolute URLs that point to missing destinations. These links can then be investigated and corrected or supported with redirects where appropriate.

Scroll to Top