Custom 404 Page: Create One and Return the Right Status
A friendly 404 helps users and keeps status correct.
A custom 404 page helps visitors who land on a missing address. It must still return a 404 status, so search engines know the page does not exist.
Step 1: Design the page

Include a clear message, a search box, links to the home page and popular guides, and your contact link.
Step 2: Create it in your theme or builder

In WordPress many themes have a 404.php or a 404 template in the site editor. Page builders have a 404 template.
Step 3: Make sure it returns 404

Use a header checker on a missing address, such as yoursite.com/this-does-not-exist. The status must be 404, not 200 or a redirect to the home page.
Step 4: Do not redirect everything to the home page

Mass redirects of 404s to the home page are treated as soft 404s.
Step 5: For static sites

Create 404.html and point your server to it with ErrorDocument 404 /404.html in .htaccess.
Step 6: Test on mobile

Check the layout.
Step 7: Monitor 404s

Check Search Console and fix links that lead to them.
Still stuck?
If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.
Related guides
- Writing Clear Error Reports: Screenshots, URLs and Steps
- WordPress Tag and Date Archives Duplicate Content: Settings
- WordPress Permalinks Change: Redirect Old URLs and Avoid 404s
- Error Establishing a Database Connection in WordPress: Full Checklist