numero2 / contao-page-410
Adds a new page type for 410 Gone
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:contao-module
Requires
- contao/core-bundle: ^4.13 || ^5.0
Requires (Dev)
- contao/manager-plugin: ^2.0
Conflicts
- contao/core: *
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2024-03-29 14:24:51 UTC
README
About
This extension adds a new page type for "410 Gone".
System requirements
- Contao 4.13 or Contao 5.3 (or newer)
Installation
- Install via Contao Manager or Composer (
composer require numero2/contao-page-410
) - In
public/.htaccess
add the following line to route 410 errors to Contao:
ErrorDocument 410 /index.php
- To specify which URL's should return a 410 page, add some proper redirects as well
Redirect 410 /this-page/is-gone.html