Custom 404 Not Found Page for Magento 2

Turn the default Magento 2 no-route page into a modern conversion-friendly 404 experience with dynamic category links and integrated search functionality.

Licence
Open source, free to install
Compatibility
Magento 2.4.4 to 2.4.9, Hyvä and Luma
Installed for you
from $22

Install

composer require mage2kishan/module-not-found-page

Then bin/magento setup:upgrade. On Packagist as mage2kishan/module-not-found-page.

Questions about Custom 404 Not Found Page

Does this module override Magento's `cms/noroute/index` controller?
No. It uses Magento's standard layout update mechanism to replace the block under the content container. The controller itself is untouched.
Will the page still return HTTP 404?
Yes. The module does not change the response status, it only changes what is rendered inside the 404 response.
Can I use different headings for different languages?
Yes. All text fields are store-view scoped, so you can set English copy for your English store view, French copy for French, and so on. Values also run through Magento's translation layer if you prefer CSV translations.
Does it work with Hyvä Checkout or Hyvä Themes v2?
Yes. The Hyvä template uses only Alpine.js and Tailwind utility classes, which both Hyvä 1.x and the Hyvä Themes v2 checkout support.
Does it work on Adobe Commerce Cloud?
Yes. No filesystem writes, no custom binaries, no cron, safe to deploy on ACC.
Can I customize the template further?
Yes. Override the template in your theme at app/design/frontend/Your/Theme/Panth_NotFoundPage/templates/hyva/notfound.phtml (or luma/notfound.phtml). All data is exposed on the block via public getters.
Does this conflict with other 404 or URL rewrite extensions?
No. Panth Not Found Page only touches the noroute layout handle, it does not intercept routing, redirects, or URL rewrites. It is compatible with Magento_UrlRewrite, redirect managers, and 301-redirect extensions.
Is a module dependency required?
Yes, mage2kishan/module-core (free, required for every Panth extension). Composer pulls it in automatically.

Need Custom 404 Not Found Page set up or extended?

Installation, configuration and custom work on any of the modules, quoted in writing within 24 hours.