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.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.0 2025-02-17 23:55 UTC

This package is not auto-updated.

Last update: 2025-03-04 22:28:21 UTC


README

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

  • 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

The module can be installed via Composer or manually.

Composer Installation

Run the following command in your Magento root directory:

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