Last updated on August 17th, 2022 at 09:09 am
Does your website present “Error 404 – Page not found” messages to your users?
Arquivo.pt offers a solution for this problem through arquivo404.
Just insert a single line of code in the page that generates the 404 error message on your website.
How Arquivo404 works
When a page is no longer on a website, Arquivo404 checks if a preserved version exists.
When a user tries to access a page that is no longer available on a website, arquivo404 automatically checks if there is a version of that page preserved in Arquivo.pt.
If the page exists in Arquivo.pt, a link is presented so that the user may visit this version. If it does not exist, the normal error page is displayed.
See Arquivo404 at work in this example of an error page that presents a link automatically generated by arquivo404.
How to install file404 on your website?
The code in file404 can easily be adapted. You can for example create a customised error message.