404 Redirect

Automatically redirect visitors who land on non-existent pages to a destination of your choice. Instead of showing a dead-end 404 error page, send them somewhere useful like your homepage or a custom landing page.

Use Cases

  • Redirect 404 errors to your homepage so visitors stay on your site
  • Direct 404 traffic to a custom landing page with helpful links
  • Recover SEO value from broken inbound links by redirecting to relevant content

How It Works

  1. Enable the module and enter a redirect URL
  2. When any visitor hits a page that doesn’t exist (404 error), they’re automatically redirected
  3. The redirect uses a 301 (permanent) status code

Settings

SettingTypeDefaultDescription
Redirect URLURLHomepageWhere to send 404 visitors (defaults to your site’s homepage)

SEO Considerations

This module uses a 301 (permanent) redirect. This tells search engines:

  • The original URL is permanently gone
  • SEO value transfers to the destination
  • Stop checking the original URL

For temporary redirects or more granular control, use the Redirects Manager module instead.

Creating a Custom 404 Page

For the best user experience, create a dedicated 404 page:

  1. Create a new page in WordPress titled “Page Not Found”
  2. Add helpful content:
    • A friendly message explaining the page wasn’t found
    • A search box
    • Links to popular content
    • A link to your homepage
    • Contact information if they need help
  3. Set this page’s URL as your redirect destination

Use Track 404s module alongside this one to see which URLs are triggering redirects. That way you can create specific redirects for popular missing pages.

FAQ

Will this affect my actual pages?No. The redirect only happens when WordPress determines a page doesn’t exist (returns a 404 status). Your real pages, posts, and other content are unaffected.
Can I redirect to an external URL?The redirect destination should be on your own site. For external redirects, use the Redirects Manager module instead.
Why use this instead of creating individual redirects?This is a catch-all for unexpected 404s. Use Redirects Manager for specific known URLs that have moved. This module handles everything else that slips through.
Does this work with custom post types?Yes. Any 404 error triggers the redirect, regardless of what type of content was expected at that URL.
PRO

Get access to all 147 modules with a single license

Upgrade to Pro