PHPackages                             grinet/notfoundcode - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. grinet/notfoundcode

ActiveMagento2-module[HTTP &amp; Networking](/categories/http)

grinet/notfoundcode
===================

Grinet NotFoundCode is a Magento 2 module that allows you to change the default 404 HTTP status code to a different one (such as 410) for SEO purposes.

1.0.0(1y ago)001OSL-3.0PHP

Since Feb 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/grinet/Mage2-NotFoundCode)[ Packagist](https://packagist.org/packages/grinet/notfoundcode)[ RSS](/packages/grinet-notfoundcode/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Grinet/NotFoundCode
===================

[](#grinetnotfoundcode)

**Grinet/NotFoundCode** is a Magento 2 module that allows you to change the default 404 HTTP status code to a different one (such as 410) for SEO purposes. This adjustment helps search engines understand your site's structure better and can improve your SEO performance.

Features
--------

[](#features)

- **Custom HTTP Status Code:** Replace the default 404 status code with any code you prefer (e.g., 410) to meet your SEO requirements.
- **SEO Optimization:** Ensure that removed pages return a more appropriate status code, helping search engines correctly interpret the state of your site.
- **Easy Integration:** Seamlessly integrate into your Magento 2 installation with straightforward configuration options.

Installation
------------

[](#installation)

The module can be installed via Composer or manually.

### Composer Installation

[](#composer-installation)

Run the following command in your Magento root directory:

```
composer require grinet/notfoundcode
bin/magento setup:upgrade
bin/magento cache:flush
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance43

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

455d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2514bb1902fd49f8bf8515157c043b64e5aa0294cb26239e16c889ea09e5ee7c?d=identicon)[grinet](/maintainers/grinet)

---

Top Contributors

[![hidonet](https://avatars.githubusercontent.com/u/1196088?v=4)](https://github.com/hidonet "hidonet (3 commits)")

---

Tags

seo404magento2not found410

### Embed Badge

![Health badge](/badges/grinet-notfoundcode/health.svg)

```
[![Health](https://phpackages.com/badges/grinet-notfoundcode/health.svg)](https://phpackages.com/packages/grinet-notfoundcode)
```

###  Alternatives

[nystudio107/craft-retour

Retour allows you to intelligently redirect legacy URLs, so that you don't lose SEO value when rebuilding &amp; restructuring a website

40975.2k15](/packages/nystudio107-craft-retour)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
