numero2/contao-page-410

Adds a new page type for 410 Gone

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 1

Type:contao-module

1.0.2 2024-08-16 06:27 UTC

This package is auto-updated.

Last update: 2024-10-05 12:28:28 UTC


README

License: LGPL v3

About

This extension adds a new page type for "410 Gone".

System requirements

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