Put an end to “page not found” on your website

thumbnail- erro404-en-

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 simplest implementation of file404 is to insert the following line of Javascript code on the 404 error page:

<script type="text/javascript" src="https://arquivo.pt/arquivo404.js" async defer onload="ARQUIVO_NOT_FOUND_404.call();"></script>

The code in file404 can easily be adapted. You can for example create a customised error message.

To know more

2019 websites available and Arquivo.pt surpasses 10 billion files


Last updated on December 16th, 2021 at 06:43 pm

The information collected from the Web during 2019 is now avaliable in Arquivo.pt (in respect to the embargo period of 1 year).

Printed screen from www.politico.eu preserved by Arquivo.pt, collected in June 18, 2019. Article about the Notre Dame fire in Paris, "Notre Dame fire 'fully extinguished’ as fundraising starts".
Printed screen from www.politico.eu preserved by Arquivo.pt, collected in June 18, 2019. Article about the Notre Dame fire in Paris, “Notre Dame fire ‘fully extinguished’ as fundraising starts”.

Remember and research historical events in 2019, such as

Arquivo.pt has visited 2 million sites and collected 1,7 billion files, 131TB in total, so that you can access the memory of past events.

In 2021, Arquivo.pt provides open access to more than 10 billion files (721 TB) from 27 million websites.

EXPO’98: Twenty years by Arquivo.pt

Last updated on July 15th, 2022 at 01:23 pm

With the theme “ “Os Oceanos, Um Património para o Futuro” (Oceans, a Heritage for the Future“), EXPO’98 took place in Lisbon, 1998.

Considered a turning point for Lisbon and Portugal, from May 2 to September 30, 1998, the event attracted around 11 million visitors.  EXPO’98 also had as its purpose to highlight the 500 years of the Portuguese Discoveries.

The importance of EXPO’98 did not stop there:

  • It was a strategic project for the country and culminated with the regeneration of an area of about 340 hectares in the eastern part of the city, next to the Tagus River.
  • Attended by 146 countries and 14 international organizations.

EXPO’98 website preserved by Arquivo.pt

However, as in the digital world, much of the information disappears after a short time, only with Arquivo.pt you can even browse EXPO’98 page, serving as a historical and research base about the event.

A moment that Arquivo.pt keeps for the memory of those days not be lost and for future research about their impact on the lives of all Portuguese.

Travel through EXPO’98 with Arquivo.pt!

Examples of EXPO’98 pages preserved by Arquivo.pt


How to improve an online service (video)?

Improving the robustness of the Arquivo.pt web archive (video thumbnail)

Last updated on April 3rd, 2019 at 11:59 am

Arquivo.pt recommendations to improve the quality of online services

This presentation provides an overview of the architecture and functioning of the system that supports the Arquivo.pt web archive.

It shares the main lessons learned from the experience of developing and maintaining this service for 10 years.

We believe that these recommendations can be useful to improve the quality of any web-based information system.

Share it with your IT department!