Error 404 handling - Seite nicht gefunden
Kurzanleitung[Bearbeiten]
- Extension installieren. In der Extension gibt es den Ordner 'files'. Darin liegen die Dateien 404page_not_found.php and example.htaccess.
- 404page_not_found.php in den Root Ordner der Website kopieren.
Then open the file example.htaccess in a texteditor AND the file .htacess that you find again in the root of your website (see above). If there is no file called .htacess then create a empty text-file in the root and rename it to .htacess !
Into the .htaccess in the root paste the following lines out of example.htaccess or from here at the very end of the file:
ErrorDocument 404 /path_to_your_typo_root/404page_not_found.phpErrorDocument 500 /path_to_your_typo_root/404page_not_found.php
Just make sure that the path is set correctly!
Now go to the install-tool of typo3 in your administration, look for the flag [warning_email_addr] and insert here an emailaddress where a message shall be send if a page was not found.
Nearly done!
You just have to open each domainrecord and assign an URL with or without http:// in the field “Redirect to an URL if a page...”. That's it!