How to Track WordPress 404 Errors

Why You Should Track WordPress 404 Errors

A 404 error occurs when someone requests a URL that your WordPress website cannot find. Some 404 requests are harmless, but others can indicate broken internal links, deleted pages, changed URLs, outdated external links or problems caused by a website migration.

Tracking WordPress 404 errors gives you visibility into these requests. Instead of waiting for visitors to report broken pages, you can identify frequently requested missing URLs, investigate their causes and decide whether they should be redirected, restored or intentionally left unavailable.

For growing websites, regular 404 monitoring is an important part of website maintenance. It can also support SEO maintenance by helping you identify old URLs that may still be receiving visits or being referenced elsewhere.

WPCodeForge Smart Redirects Pro includes a built-in 404 Monitor that records broken URL requests directly within WordPress, allowing you to investigate 404 activity and take appropriate action from a central dashboard.

What Is a WordPress 404 Error?

A 404 error is an HTTP response indicating that the requested resource could not be found.

For example, someone might visit:

https://example.com/old-page

If /old-page/ no longer exists and no redirect has been configured, WordPress may return a 404 response.

404 errors can occur for many reasons, including:

  • A page has been deleted
  • A post URL has changed
  • A product has been removed
  • A permalink structure has changed
  • A visitor has mistyped a URL
  • An internal link points to an incorrect address
  • Another website links to an outdated URL
  • A website migration changed URL structures
  • An old bookmark is still being used
  • Automated requests target non-existent files or paths

The presence of 404 errors does not automatically mean that a website is broken. The important task is determining which 404 requests require attention.

Why Tracking 404 Errors Matters

Without monitoring, it can be difficult to know which missing URLs are being requested.

A website may contain thousands of pages and receive requests from visitors, search engines, referral websites and automated systems every day. A broken URL that is rarely requested may have little practical impact, while another missing URL could be receiving hundreds of requests.

Tracking allows you to prioritise problems.

For example, suppose your 404 log contains:

Missing URLHitsPossible action
/old-services/425Redirect to the new services page
/blog/wordpress-guide/83Investigate changed URL
/products/old-product/27Check for a replacement product
/random-file/1May require no action

The number of hits provides useful context when deciding which URLs should be investigated first.

Common Causes of WordPress 404 Errors

Understanding why a URL generates a 404 makes it easier to determine the appropriate solution.

Deleted Pages

A page may have been removed without a replacement URL being configured.

If the content has permanently disappeared and there is no relevant replacement, leaving the URL unavailable may be appropriate.

If a suitable replacement exists, a redirect can provide a better experience.

Changed Page URLs

Changing a page slug changes its URL.

For example:

/wordpress-redirects/

might become:

/wordpress-redirect-management/

Existing links to the original address can continue producing 404 errors unless the old URL is redirected.

Changing the WordPress permalink structure can affect many URLs at once.

A website might change from:

/2026/09/article-name/

to:

/article-name/

This can create a large number of potential broken URLs if the previous structure was already being used by visitors or external websites.

An internal link can continue pointing to a URL after the destination has been removed or renamed.

These errors are particularly useful to investigate because the website itself may be sending visitors to the missing URL.

Other websites may continue linking to old URLs after your website changes.

You cannot always control those external links, but you can often maintain a redirect from the old URL to a relevant replacement.

Typographical Errors

Visitors sometimes enter incorrect URLs.

A single typo that generates one 404 request may not require action. However, if a common misspelling repeatedly appears in requests, you may decide to create a redirect.

Automated Requests

Not every 404 request comes from a genuine visitor.

Bots and automated systems can request common WordPress paths, files and other URLs that do not exist.

This is one reason why a 404 monitor should provide filtering and exclusion controls rather than treating every request as an SEO problem.

How to Track WordPress 404 Errors

There are several approaches to tracking 404 errors in WordPress.

A basic approach involves checking server logs. Website owners may also use analytics or search-engine reporting tools to identify missing URLs.

However, these methods do not necessarily provide a convenient WordPress-based workflow for investigating individual requests and immediately creating redirects.

A dedicated 404 monitoring system can record requests directly and provide information specifically for redirect and URL maintenance.

Smart Redirects Pro includes a 404 Monitor designed for this purpose.

Track 404 Errors with Smart Redirects Pro

Smart Redirects Pro records broken URL requests so that WordPress administrators can review actual 404 activity.

The monitor can provide information including:

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

This makes it easier to move from identifying a problem to deciding what should happen next.

For example, if an old article URL has generated a large number of 404 requests and a replacement article exists, you can investigate the URL and create an appropriate redirect.

Prioritise High-Volume 404 URLs

Not every 404 requires the same level of attention.

A useful 404 monitoring system should help you distinguish between occasional requests and frequently requested missing URLs.

High-volume 404 URLs may deserve earlier investigation because they could represent:

  • Popular content that was moved
  • A broken internal link
  • A frequently referenced external URL
  • A product that has changed
  • A migration problem
  • A commonly mistyped URL
  • An outdated URL receiving continuing traffic

Smart Redirects Pro records hit counts for monitored 404 URLs, making it easier to identify recurring problems.

Investigate the Referrer

The referrer associated with a 404 request can provide useful context.

If a broken URL is being requested from an internal page, the website may contain a broken internal link.

See also  How to Fix Broken URLs in WordPress

If the referrer comes from another website, an external link may still point to an old URL.

If no useful referrer is available, the request may have originated from a direct visit, bookmark, application or automated process.

This information can help determine whether creating a redirect is appropriate.

Check When a 404 Was Last Requested

The last-seen information can help distinguish active problems from historical ones.

A URL that generated hundreds of requests recently may deserve investigation even if the total number of historical requests is not particularly large.

Conversely, an old URL that has not been requested for a long time may be less urgent.

Tracking both volume and recency provides more useful context than simply maintaining a list of missing URLs.

Decide What to Do with Each 404

Once a 404 URL has been identified, there is no single solution that should be applied to every request.

Consider the reason for the missing URL and whether an appropriate replacement exists.

Create a 301 Redirect

If the content has permanently moved to a relevant new URL, a 301 redirect is often appropriate.

For example:

/old-guide/ → /new-guide/

This allows visitors requesting the old address to reach the replacement content.

Use a Temporary Redirect

If the change is temporary, a temporary redirect may be more appropriate than a permanent one.

The exact redirect status should reflect how the URL is expected to behave.

Return 410 Gone

If content has been permanently removed and there is no suitable replacement, a 410 response can explicitly indicate that the resource is gone.

This is different from redirecting visitors to an unrelated page.

If the 404 exists because your own website contains an incorrect internal link, updating the link may be preferable to creating a redirect.

This addresses the source of the problem rather than simply handling the resulting request.

Take No Action

Some 404 requests are not meaningful website problems.

Automated requests for non-existent files or random paths may not require redirects.

The goal of 404 monitoring is not necessarily to eliminate every 404 request. It is to identify requests that represent useful problems to address.

Use Intelligent 404 Recovery

Manually investigating every possible missing URL can become difficult on larger websites.

Smart Redirects Pro includes an Automatic Recovery system that can attempt to identify suitable local WordPress content when visitors request URLs that no longer exist.

Potential matching signals include:

  • Slug similarity
  • URL correction
  • Page title
  • Category
  • Tag
  • Content
  • Spelling variations
  • Typographical variations
  • Archive matching

Configurable thresholds allow administrators to control how conservative the matching process should be.

A higher threshold can require a closer match before content is considered a suitable destination.

This can be useful when a website has accumulated many old URLs over time.

Track 404 Errors Without Treating Every Bot Request as a Visitor Problem

404 monitoring can reveal security-related and automated traffic as well as ordinary broken links.

Automated requests may target:

  • Common WordPress paths
  • Non-existent files
  • Administrative paths
  • Known application paths
  • Vulnerability-related URLs

Smart Redirects Pro provides controls that allow administrators to decide how this activity should be monitored.

You can configure whether:

  • 404 requests are logged
  • Bots are included
  • Referrers are stored
  • User agents are stored
  • IP addresses are hashed
  • Diagnostic engine information is recorded

Bot user-agent terms can also be configured, while excluded path patterns can prevent known system or administrative requests from filling the 404 log.

Control 404 Log Retention

A 404 monitor can generate significant amounts of data on busy websites.

For this reason, retention and storage controls are important.

Smart Redirects Pro allows administrators to configure:

  • Log-retention duration
  • Maximum stored records
  • IP address hashing
  • Referrer storage
  • User-agent storage

These controls provide greater flexibility over how much diagnostic information is retained.

The appropriate settings depend on the website’s operational requirements and privacy considerations.

Receive 404 Notifications

You do not necessarily need to check the 404 monitor manually every day.

Smart Redirects Pro can send administrator notifications when a URL reaches a configurable number of 404 hits.

For example, you can configure an alert threshold and receive an email when a particular missing URL reaches that level.

A daily 404 digest can also provide a regular summary of recorded activity.

This can be useful for websites where administrators want to be alerted to significant 404 activity without receiving an email for every individual request.

Tracking individual 404 URLs is useful, but trends can provide additional context.

Smart Redirects Pro includes analytics covering 404 and redirect activity.

You can monitor:

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

This can help identify whether a URL problem is isolated or part of a broader change.

For example, a sudden increase in 404 activity following a website migration could indicate that some URL mappings have not been configured correctly.

404 monitoring tells you that a missing URL was requested. The next question may be where that URL is being referenced.

Smart Redirects Pro includes an Internal Link Scanner that checks published WordPress content for internal absolute URLs pointing to missing destinations.

The scanner does not crawl external websites and does not run automatically in the background.

This allows administrators to run the scan when required and investigate problematic internal links without adding continuous background crawling.

See also  How to Redirect URLs After a WordPress Redesign

If an internal link points to a URL that no longer exists, you can decide whether to update the link, restore the content or create a redirect.

Track 404 Errors After a Website Migration

A website migration is one of the most important times to monitor 404 errors.

Before a migration, create a list of existing URLs and determine where those URLs should lead after the change.

After the migration:

  1. Monitor 404 requests.
  2. Identify high-volume missing URLs.
  3. Check whether the URLs existed before the migration.
  4. Compare old and new URL structures.
  5. Create redirects where appropriate.
  6. Check internal links.
  7. Review 404 trends.
  8. Test important destinations.
  9. Continue monitoring after the migration.

Smart Redirects Pro supports this workflow through 404 monitoring, redirect management, groups, analytics, link scanning and health checks.

Changing WordPress permalinks can affect a large number of existing URLs.

Before changing the structure, consider how old URLs will map to the new structure.

After the change, monitor 404 activity for evidence of missing mappings.

Prefix matching and regular expression rules can be useful where old and new URL structures follow predictable patterns.

Individual exact-match redirects can be used for URLs that require specific destinations.

Use Redirect Groups to Organise Fixes

As you resolve 404 errors, your redirect list can grow.

Without organisation, it can become difficult to determine why individual rules exist.

Smart Redirects Pro allows redirect rules to be placed into Redirect Groups.

You could create groups such as:

  • 2026 Website Migration
  • Old Blog URLs
  • Product Changes
  • Permalink Updates
  • Campaign Redirects
  • Legacy Content

Each group can have a name and description.

This makes it easier to understand and maintain large collections of redirects.

Check Redirects After Creating Them

A redirect that exists in your configuration is not necessarily a redirect that is functioning correctly.

The destination could later become unavailable, or the configuration could contain an error.

Smart Redirects Pro includes a Redirect Health Check that can test active redirect destinations for obvious HTTP failures.

Checks are performed when requested rather than continuously in the background.

This makes it possible to run redirect diagnostics as part of routine website maintenance.

Avoid Redirect Loops

A redirect loop occurs when requests are repeatedly redirected between URLs without reaching a final destination.

For example:

/page-a/ → /page-b/

and:

/page-b/ → /page-a/

can create a loop.

Smart Redirects Pro includes validation designed to reject obvious self-referencing redirect rules and diagnostic functionality for identifying problematic configurations.

Redirects should still be tested carefully, particularly after large URL changes.

Track Redirects as Well as 404 Errors

404 monitoring is only one part of URL maintenance.

Once a 404 has been resolved with a redirect, it can be useful to monitor whether that redirect is actually being used.

Smart Redirects Pro analytics can show redirect hit counts and last-hit information.

This helps you understand which redirect rules continue to receive requests.

A redirect that receives ongoing traffic may represent an important legacy URL that should remain maintained.

Use Query-Parameter Controls

Some 404 and redirect problems involve query parameters rather than the core URL path.

Tracking systems can append parameters such as:

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

Smart Redirects Pro provides controls for preserving query parameters and identifying tracking parameters that should be ignored during automatic URL matching.

This can help the system recognise that different tracking versions of a URL may correspond to the same underlying content.

A Practical 404 Monitoring Process

A simple recurring process can keep WordPress 404 problems under control.

1. Record 404 Requests

Enable 404 monitoring so missing URL requests can be reviewed.

2. Filter Unimportant Traffic

Exclude known system paths or unwanted automated requests where appropriate.

3. Identify Frequently Requested URLs

Review hit counts to find missing URLs that receive significant traffic.

4. Investigate the Cause

Check the URL, referrer, last-seen information and other available diagnostic data.

5. Look for a Suitable Replacement

Determine whether the requested content has moved or whether another relevant page exists.

6. Create a Redirect Where Appropriate

Use a suitable redirect type and destination.

If your website is responsible for the broken request, update the relevant internal link where possible.

8. Test the Result

Confirm that the redirect reaches the intended destination and does not introduce a loop or another error.

9. Monitor Again

Continue checking 404 activity to determine whether the problem has been resolved.

10. Review Redirects Periodically

Maintain the redirect collection as the website continues to change.

Best Practices for Tracking WordPress 404 Errors

Do Not Try to Eliminate Every 404

A website can legitimately receive requests for URLs that never existed.

Focus on meaningful problems rather than trying to achieve a zero 404 count.

Prioritise Real Traffic

Look at hit counts, referrers and recent activity to identify requests that may affect visitors or established links.

Fix the Source When Possible

If an internal page contains a broken link, update the link rather than relying permanently on a redirect.

Use Relevant Redirect Destinations

Redirect an old URL to the most appropriate replacement rather than sending visitors to an unrelated page.

Monitor After Major Changes

Pay particular attention to 404 activity after migrations, redesigns and permalink changes.

Keep Redirects Organised

Use groups and consistent naming so that large redirect collections remain manageable.

Review Automated Traffic Separately

Bots can generate substantial numbers of 404 requests. Filtering and exclusion controls can help keep genuine website problems distinguishable from automated activity.

Maintain Appropriate Data Retention

Configure log retention and stored information according to the operational and privacy requirements of the website.

See also  WordPress Redirects: Complete Guide

Why Use Smart Redirects Pro to Track 404 Errors?

WPCodeForge Smart Redirects Pro combines 404 monitoring with the tools required to investigate and resolve broken URL problems.

Instead of identifying a missing URL in one system and then creating a redirect somewhere else, the plugin provides a central WordPress-based workflow.

With Smart Redirects Pro, you can:

  • Track broken URLs
  • See 404 hit counts
  • Review referrers
  • Check last-seen information
  • Monitor 404 trends
  • Receive 404 alerts
  • Create redirects
  • Use intelligent 404 recovery
  • Scan internal links
  • Test redirect destinations
  • Organise rules with Redirect Groups
  • Import and export redirect configurations
  • Manage query parameters
  • Monitor redirect performance
  • Control log retention
  • Configure privacy-related logging options

This makes the plugin suitable for websites where URL changes and broken links require ongoing attention.

Smart Redirects Pro for WordPress Website Maintenance

404 monitoring is particularly valuable for websites that change frequently.

Blogs publish and update articles. Shops add and remove products. Businesses restructure services. Developers change URL structures. Agencies migrate client websites.

Every significant change can potentially create obsolete URLs.

Smart Redirects Pro is designed to help manage those changes from within WordPress.

The plugin supports exact URL matching, prefix matching and regular expressions, along with 301, 302, 307 and 308 redirects, 410 responses and other routing options.

It also provides automatic URL-change detection, intelligent recovery, analytics, link scanning and redirect health checks.

Licensing for Smart Redirects Pro

Smart Redirects Pro is available as an annual premium licence.

The available licence options are:

1 Website — $39.99 / £30.20 / €35.69 per year

Suitable for individual website owners, bloggers and businesses managing one WordPress website.

5 Websites — $59.99 / £45.30 / €53.54 per year

Suitable for freelancers, developers and small agencies managing multiple websites.

50 Websites — $119.99 / £90.62 / €107.09 per year

Designed for agencies, developers and businesses managing larger website portfolios.

All licences include the full Smart Redirects Pro feature set, premium support and updates for the duration of the active licence.

A free edition is also available for WordPress users who want to begin managing redirects and broken URLs.

Frequently Asked Questions

How do I track 404 errors in WordPress?

You can track WordPress 404 errors using server logs, analytics tools, search-engine reporting or a dedicated WordPress 404 monitoring plugin. Smart Redirects Pro includes a built-in 404 Monitor that records broken URL requests inside WordPress.

What information should a 404 monitor record?

Useful information can include the missing URL, number of hits, referrer, last-seen information and details about how the request was detected. Smart Redirects Pro provides these types of information for monitored 404 requests.

Are all WordPress 404 errors a problem?

No. Some 404 requests come from visitors entering incorrect URLs, automated requests or paths that never existed. The important task is identifying 404 requests that indicate a genuine website problem.

Should I redirect every 404 error?

No. A redirect should generally be used when there is a suitable destination. If content has permanently disappeared without a relevant replacement, a 410 response or another appropriate handling method may be more suitable.

Can I automatically fix WordPress 404 errors?

Smart Redirects Pro includes Automatic Recovery, which can attempt to identify suitable local WordPress content using signals including slugs, titles, categories, tags, content and spelling variations.

Can I receive notifications about 404 errors?

Yes. Smart Redirects Pro can notify administrators when a URL reaches a configurable 404-hit threshold. A daily 404 digest is also available.

Can 404 errors affect SEO?

Some 404 errors can be associated with broken links, moved content or outdated URLs that may still receive traffic or references. Monitoring helps identify these issues so they can be assessed and handled appropriately.

Smart Redirects Pro includes an Internal Link Scanner that checks published WordPress content for internal absolute URLs pointing to missing destinations.

How should I monitor 404 errors after a website migration?

Monitor 404 activity immediately after the migration, identify frequently requested missing URLs, compare old and new URL structures, create appropriate redirects and continue monitoring for problems.

Can Smart Redirects Pro track redirect performance?

Yes. Its analytics can show redirect hit counts, last-hit information, redirects receiving traffic and 30-day activity trends.

Can I control what information is stored in the 404 log?

Yes. Smart Redirects Pro provides controls for IP address hashing, referrer storage, user-agent storage, bot monitoring, retention periods and maximum stored records.

Does Smart Redirects Pro require editing .htaccess?

No. Redirects can be created and managed through the WordPress dashboard without manually editing .htaccess.

Start Tracking WordPress 404 Errors

404 errors are easier to manage when you can see which URLs are being requested, how frequently they are requested and where those requests may be coming from.

Tracking provides the information needed to distinguish a harmless missing URL from a broken link, outdated page or migration problem that deserves attention.

WPCodeForge Smart Redirects Pro provides a central system for tracking 404 errors and managing the next steps. You can investigate broken URLs, monitor hit counts, review referrers, receive notifications, scan internal links, create redirects and analyse activity over time.

For WordPress websites where URLs change regularly, consistent 404 monitoring can make it easier to maintain a cleaner and more reliable website structure.

Scroll to Top