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

1.0.1 2024-02-29 14:08 UTC

This package is auto-updated.

Last update: 2024-03-29 14:24:51 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