Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
Returns http code 410 on an archived content
Description
When an anonymous user requests an unpublished content which has the moderation state "archived", this event subscriber returns a response with an http code 410 (Gone). The advantage of this is that it advises search engines to remove the page from their index.
Installation
Install the module
(https://www.drupal.org/docs/extending-drupal/installing-modules).
Configuration
You can choose the moderation state on the configuration page:
Admin >> Config >> System >> Archived 410
Dependency
The core module content moderation
Supporting organizations:
Initial Development
Initial Development & contrib the project to the community
Project information
- Module categories: Content Editing Experience, Search Engine Optimization (SEO)
- Ecosystem: Content moderation
- 17 sites report using this module
- Created by yepa on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.