Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

HTTP Status Code

No security coverage Under active development 21 sites

This module allows you to configure specific paths to return custom HTTP status codes, such as "410 Gone" for permanently removed content. This helps search engines understand that content is no longer available and should be removed from their indexes.

Adds the possibility to define a path which returns HTTP Status Code, like 410 for paths that are gone.

Use case

If you remove a page, the request for the path of the page normally then gives a 404 in the HTTP header - as it should. Google does not think this really means that the page is gone forever, just temporarily, so to make Google understand it is gone for real, you could set up the path for the path at /admin/config/http_status_code/http_status_entity and select that the path would throw a 410 Gone header. Then Google removes the path from the search index.

The module does not create pages, just manipulates the HTTP header.

Ask your assistant about HTTP Status Code

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Feb 2026
Latest release
7 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core PHP Release date
8.x-2.x-dev Dev 10–11 Feb 27, 2026