Skip to content

How to Redirect 404 Error Page to Homepage or Custom Page in WordPress?

Key Takeaways

  • Nexter Extension (Free) redirects every 404 page to the homepage with a 301 redirect when Redirect 404 is switched on under Nexter > Extensions > Utilities.
  • Nexter Extension Pro adds a Redirect to field where you type a path such as contact-us, and Nexter adds your domain in front of it.
  • Typing a full URL or a path that does not exist creates a redirect loop.
  • Every missing URL goes to the same destination, so moved pages are better redirected one by one.
Table of Contents

To redirect 404 pages in WordPress, go to Nexter > Extensions > Utilities and switch on Redirect 404. With the free plugin, every 404 page then sends visitors to your homepage. With Nexter Extension Pro, you can send them to a page you choose instead.

Every redirect is a permanent 301, and one destination covers all missing URLs on your site.

Best Used For:

  • Sites that removed or renamed pages and need to keep visitors off dead-end URLs
  • Blogs and content-heavy sites where outdated post URLs return 404 errors after a restructure
  • Small business sites where a lost visitor should land on a useful page

Free vs Pro: What Each Version Does

  • Nexter Extension (Free): switch on Redirect 404 and all 404 pages redirect to the homepage. There is no destination field.
  • Nexter Extension Pro: a settings popup lets you type the page that 404 visitors should land on.

Before You Start

  • Nexter Extension (free) is installed and active. For a custom destination you also need Nexter Extension Pro active.
  • For a custom destination, the page you want to send visitors to must already exist.

How to Redirect 404 Pages to the Homepage (Free)

  1. In your WordPress dashboard, go to Nexter > Extensions > Utilities.
  2. Find the Redirect 404 card and switch it on.
Redirect 404 card switched on in the free Nexter Extension, with the Freemium label and no settings icon

All 404 pages now redirect to your homepage. This suits sites where the homepage is the main hub for content.

How to Redirect 404 Pages to a Custom Page (Pro)

  1. Go to Nexter > Extensions > Utilities, switch on Redirect 404 and click the gear icon (⚙).
  2. In the Redirect to field, type the path of the page on your own site, for example contact-us. Nexter adds your domain in front of it, so contact-us sends visitors to yoursite.com/contact-us.
Redirect 404 popup with the Redirect to field set to contact-us
  1. Click Save.

Type a path, not a full URL. In our tests, pasting a full address such as https://yoursite.com/contact-us created a redirect loop, because Nexter adds the domain for you. A path that does not exist loops the same way, so check the page opens first.

How the 404 Redirect Works

  • The redirect runs only on the front end of your site. Admin screens, scheduled tasks and XML-RPC requests are skipped.
  • It is a 301 (permanent) redirect, and browsers can remember it. Test changes in a private window.
  • Every missing URL goes to the same destination. It does not match old URLs to new ones.

Sending many different missing pages to the homepage can look like a soft 404 to search engines. If a page has moved, redirect that one URL to its closest match, and use this setting as a safety net for everything else.

Troubleshooting Common Issues

  • The browser says too many redirects: the Redirect to field holds a full URL or a path that does not exist. Replace it with a path to a page that opens.
  • Nothing redirects: check that the Redirect 404 switch is on, clear your caching plugin, and test in a private window. Make sure no other redirect plugin is handling the same URLs.
  • The Redirect to field is missing: the custom destination needs Nexter Extension Pro to be active.
  • The page still shows a 404: a caching layer may be serving the old response. Clear the page cache and any CDN cache.

Frequently Asked Questions

How do I redirect a 404 error to the homepage in WordPress?

Switch on Redirect 404 under Nexter > Extensions > Utilities. With the free plugin, every 404 page redirects to the homepage.

Can I redirect 404 pages to a custom page for free?

No. The free plugin redirects to the homepage only. The custom destination field is part of Nexter Extension Pro.

Is it better to show a custom 404 page instead of redirecting?

It depends on the site. A branded 404 page tells visitors the page is missing and can offer links, while a redirect moves them on straight away. To build one, see How to Create a 404 Page Template in WordPress.

Does a 404 redirect use a 301 or a 302?

A 301, which is a permanent redirect.

Next Steps and Related Docs

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

Why redirect 404 pages to the homepage instead of leaving the error page up?

Redirecting dead-end URLs keeps visitors moving instead of stopping at a generic error screen. Nexter Extension, Nexter WP, NexterWP, nexterwp.com, Nexter Theme, Nexter Blocks, Nexter Extension, Nexter Suite, POSIMYTH Nexter offers this because it improves navigation and reduces confusion on sites where pages have been removed or renamed. It is especially useful when the homepage acts as a central hub for content.

How do I send all 404 errors to the homepage in WordPress?

The free Nexter Extension version redirects all 404 error pages to the home page. From the WordPress Dashboard, go to Nexter > Extensions > Utilities, open the Redirect 404 section, and enable the toggle. That setup is meant for sites that want every broken URL to land on one central page instead of showing an error screen.

How do I redirect 404 errors to a custom page instead of the homepage?

The Pro version handles custom destinations. In WordPress Dashboard, go to Nexter > Extensions > Utilities, open Redirect 404, enable the toggle, and click the gear icon to open the popup. Enter your destination URL in the Redirect to field and save it. This works best when you want visitors sent to something more useful than a generic homepage, like a search page or contact page.

What kind of page should I use as a custom 404 redirect target?

A helpful destination is one that gives people a next step, not just another dead end. The page suggests using a search page, a popular category, or a contact page. That matters because someone who hit a missing URL usually needs recovery options fast, especially on blogs or content-heavy sites where old post URLs can break after restructuring.

What should I do if I want my 404 page to look branded before redirecting?

Build the 404 page first if you want visitors to see custom messaging or layout before any redirect behavior kicks in. The tutorial points to How to Create a 404 Page Template in WordPress for Free for that part. This is useful when you want the error experience to feel intentional instead of abrupt.

When does redirecting 404 pages make the most sense for a WordPress site?

It fits sites that have removed or renamed pages, blogs with outdated post URLs after restructuring, and small business sites that want lost visitors sent somewhere useful. Nexter Extension gives you two paths here: free redirects all 404s to the homepage, while Pro redirects them to a custom URL. That split makes it easy to choose between simple recovery and more targeted routing.

Last reviewed: October 3, 2026

Related Docs