- Notifications
You must be signed in to change notification settings - Fork0
numero2/contao-page-410
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This extension adds a new page type for "410 Gone".
- Contao 4.13 orContao 5.3 (or newer)
- 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
About
This extension adds a new page type for "410 Gone".