# Create a 404 page
The 404 page shows when a shopper visits a link that doesn't exist, for example a product you've deleted or a mistyped URL. A helpful 404 page keeps shoppers in your store instead of leaving.
## Create and publish your 404 page
| Approach | Best for |
| -------------------------------------------------------------------- | ---------------------------------------- |
| [Create with Foxie AI](https://docs.foxecom.com/foxify-app/pages/page-creation/ai-layout-generator) | A 404 page that matches your brand voice |
| [Start from a template](https://docs.foxecom.com/foxify-app/pages/templates) | A polished page in minutes |
| Create a blank page | Full control over every section |
A helpful 404 page typically includes:
* **A friendly message:** instead of a cold "Page not found", try *"Oops! We couldn't find that page, but here's where you can go next."*
* **A search bar:** let shoppers look for what they wanted. Try [Predictive search](https://docs.foxecom.com/foxify-app/integrations/foxify-extensions/predictive-search).
* **Ways back in:** links to popular collections, best sellers, or your home page.
* **Your brand personality:** a playful image or message makes a broken link feel less frustrating.
1. Select **Save**, then **Preview** to check the page on desktop and mobile.
2. Select **Publish**. Your Foxify 404 page replaces your theme's default.
To test it, open any made-up URL on your store, like `yourstore.com/test-404`.
## Unpublish a 404 page
1. Open the 404 page in Foxify.
2. Click **Unpublish** in the top-right corner of the editor.
Your theme's original 404 page is restored.
## FAQs
#### Why do I see a 404 error on my store?
It happens when a visitor follows a link to a page that no longer exists — for example, a product you deleted, a mistyped URL, or an outdated link from search or social media.
#### Can I customize my 404 page using Foxify?
Yes — You can fully customize the design and content of your 404 page in Foxify. You can:
* Add images, buttons, or text block.
* Match the design to your brand's look and feel.
* Add navigation links, product grids, or collections to guide customers back to your main store.
#### How can I prevent 404 errors in the future?
Set up a URL redirect whenever you delete a product or page, or change a URL. [Learn how to create URL redirects in Shopify](https://help.shopify.com/manual/online-store/menus-and-links/url-redirect)
## Related articles
Editor tools
Add and edit elements
Templates