This guide compares ways to create a custom 404 page WordPress users can manage: edit a theme template, use a page builder or assign a page with a plugin. The best option depends on your theme and comfort with code, and determines how the WordPress 404 error page connects to missing URLs.
A helpful custom error page gives visitors a clear next step when a link fails. Choose your editing method, then test that a well-designed 404 page guides visitors back into your site and returns the correct HTTP response.
Key takeaways: choose your editing route
Use your existing tools where possible, rather than adding another builder.
| Your setup | Recommended route | Code needed? |
|---|---|---|
| Block theme | Edit the 404 template in the Site Editor | No |
| Classic theme | Edit a child theme’s 404.php | Yes |
| Elementor Pro or premium SeedProd | Build and activate a missing-page layout | No |
| Classic theme without a builder | Assign a page with 404page | No |
WordPress’s template hierarchy documentation explains how it selects the error template. Whichever route you choose, back up files and the database before making changes.
What a custom 404 page does and doesn’t fix
Recognise a genuine missing-page error
A 404 means the requested resource wasn’t found. Common labels include “404 Error”, “404 Not Found”, “HTTP 404” and “Page Not Found”.
Typical causes include mistyped URLs, broken links and pages moved, renamed or deleted without redirects. However, missing permissions usually produce a 403 response. Maintenance, downtime and crashes more commonly produce server errors or connection failures.
Use the actual response code to distinguish these problems. Our guide to WordPress 403 access errors covers refused access.
Give visitors somewhere useful to go
The standard WordPress error screen can leave visitors unsure where to click, so they return to search or leave.
A branded page with search and relevant links may encourage visitors to continue browsing and affect bounce rate. It doesn’t repair missing content or guarantee better SEO rankings. Treat it as part of your small business’s web design and conversion optimisation, alongside fixing broken links.
Method 1: edit your theme’s 404 template
For block themes, use the Site Editor to customize 404 page template content without PHP edits. Reserve PHP edits for developers or confident site owners with a backup and file-access recovery route.

Block themes: use the Site Editor
- Open Appearance > Editor, then find Templates, sometimes under Design.
- Select 404 or Page: 404. If absent, use Add Template and select the missing-URL layout.
- Keep the header and footer. Add a clear Heading, explanatory Paragraph, Search block and home page button.
- Select Save and confirm the template changes.
WordPress’s tutorial on personalising your 404 template follows this approach. You’re editing the template for missing URLs, rather than publishing an ordinary page.
Classic themes: edit 404.php carefully
- Create or use a child theme. Copy the parent theme’s
404.phpinto it through SFTP or your hosting file manager. - With the child theme active, open Appearance > Theme File Editor, also called Theme Editor.
- Select the child theme’s
404.php. Replace the visible heading and explanatory text, preserving PHP statements and surrounding markup. - Click Update File.
Most classic 404 templates retain basic navigation through the site’s header and footer. Keep those calls intact.
If the editor is unavailable, deploy the file through SFTP. Avoid editing the parent theme because updates can overwrite changes. PHP syntax mistakes can break the site, so leave structural edits to your web development team.
Method 2: build the page with Elementor Pro or SeedProd
A page builder makes sense when you already use it across the website. Use one active 404 system to avoid competing templates.
Elementor Pro: publish a Theme Builder template
- Open Templates > Theme Builder and select Add New or the add icon for Error 404.
- Choose the 404 template type, then insert a layout or build your own.
- Add your message, homepage button and useful navigation.
- Click Publish, then set the display condition to Include > 404 Page and save.
Theme Builder requires Elementor Pro. Publishing a standard Elementor page alone won’t replace the theme’s error template. The selected error-page template and display condition connect your design to missing URLs.
SeedProd: activate its 404 page mode
Replacing the theme’s default 404 page requires premium SeedProd.
- Open SeedProd > Pages or Landing Pages, depending on the interface.
- Choose Set up a 404 Page, then select a template or start blank.
- Customise the page, save it and publish.
- Return to SeedProd’s dashboard and set the 404 Page toggle to Active.
Include a route back to useful content. A standalone design without navigation creates another dead end, however polished it looks.
Method 3: assign a page with the free 404page plugin
The free 404page WordPress plugin suits sites that need a straightforward replacement without another page builder.
- Install and activate 404page through Plugins > Add New.
- Open Pages > Add New and build your error page using the normal editor.
- Publish the page.
- Open Appearance > 404 Error Page and select your published page.
- Click Save Changes.
The plugin requires a permalink structure other than Plain. If your established site uses Plain URLs, choose a theme-based method rather than changing every published address solely for this plugin.
Don’t set this page as your homepage or redirect every missing URL to its published address. The plugin should display its content whilst preserving the visitor’s missing URL and the appropriate response status.
After theme changes, repeat the tests below because template handling can change.
Design a helpful route back into the site
Match your logo, colour palette and fonts so visitors recognise your digital branding. Keep the message brief: “We couldn’t find that page. Try searching or return to the home page.”

Include these essentials:
- Give visitors a prominent home page link or main menu.
- Add a search bar with a visible label.
- Suggest a few popular posts or relevant service pages.
- Keep the layout mobile-responsive, with readable text and usable buttons for a better user experience.
Social media links are optional. Usually, an on-site destination offers a shorter route back to an enquiry. A relevant destination may encourage visitors to keep browsing, but it doesn’t guarantee a lower bounce rate. Similarly, a contact form adds little unless visitors genuinely need to report missing content.
Light humour can soften the message, but clarity comes first. Also, editing shared headers through the WordPress Template Editor can affect other templates, so keep error-specific changes within the page content.
Test the design and confirm the HTTP 404 status
Inspect a genuinely missing URL
To test the 404 page, open a deliberately nonexistent address on your domain in a private window. Previewing the published page used by a plugin isn’t sufficient.
In Chrome or Firefox, open developer tools and select Network. Reload the missing address, select the main document request and inspect its Status Code.
Your WordPress 404 error page should display your custom design, and the main document request should return 404 Not Found (HTTP status 404). A 200 response says the request succeeded and can create a soft 404. A redirect to the homepage also fails to preserve the missing-page response.
A correct-looking error page and a correct HTTP response are separate requirements. Test both.
Check delivery, navigation and mobile behaviour
Test search, buttons and navigation on desktop and mobile. Then open a valid service page to confirm it still loads normally.
If an old design appears, purge WordPress, web hosting and CDN caches. A private window doesn’t bypass server-side caching.
For block themes, a saved database template can override a theme file. WordPress documents this template lookup priority, which explains why editing 404.html may show no visible change.
If you include a form, isolate its systems and automation during testing so submissions don’t trigger real client messages.
Fix the broken links behind the error page
A custom 404 page is a fallback. Ongoing website care and maintenance should also reduce avoidable errors.
Use Google Search Console’s Page indexing report to find reported 404 URLs. Our Search Console setup guide covers getting started. A crawler such as Screaming Frog SEO Spider can identify broken internal links, whilst the Redirection plugin can log 404 requests and manage redirects.
Correct internal links at their source. When content has moved, add a 301 redirect to its closest relevant replacement. If there’s no equivalent page, leaving a genuine 404 is appropriate.
If many posts fail whilst the homepage works, first open Settings > Permalinks and click Save Changes without altering the structure. This refreshes rewrite rules. Our guide to fixing WordPress permalink errors covers persistent routing problems.
Preserve custom server rules before deeper repairs. Apache uses .htaccess; Nginx needs different configuration.
Finally, update destinations in email marketing, social media and your Google Business Profile. Broken campaign and local SEO links can interrupt lead generation before visitors reach your services.
Frequently asked questions
Can I create a custom WordPress 404 page for free?
Yes. A block theme’s Site Editor doesn’t require a paid builder. Editing a classic child theme or using the free 404page plugin are other options. Elementor’s Theme Builder and SeedProd’s replacement 404 functionality require paid products.
Why doesn’t my custom 404 page appear?
Common causes include an inactive builder template, incorrect display conditions, cached output or another plugin controlling errors. A server-generated error may also bypass WordPress entirely. Confirm which layer handles the request before changing more settings.
Make the missing-page experience useful
A custom 404 page should explain the problem and provide a clear route forward. Keep its design familiar, then confirm missing URLs return HTTP 404 whilst valid pages still work.
Repair broken links alongside the template so fewer visitors need it.
See how we collaborate with creative agencies if you need technical support for client WordPress builds and ongoing website care.