numero2 / contao-page-410
Adds a new page type for 410 Gone
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 1
Type:contao-module
Requires
- contao/core-bundle: ^4.13 || ^5.0
- doctrine/dbal: ^3.6
- symfony-cmf/routing: ^3.0
- symfony/config: ^6.4 || ^7.0
- symfony/dependency-injection: ^6.4 || ^7.0
- symfony/event-dispatcher: ^6.4 || ^7.0
- symfony/framework-bundle: ^6.4 || ^7.0
- symfony/http-foundation: ^6.4 || ^7.0
- symfony/http-kernel: ^6.4 || ^7.0
- symfony/routing: ^6.4 || ^7.0
Requires (Dev)
Conflicts
- contao/core: *
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2024-11-05 12:55:20 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