2.14.9.14. Configure 404 page in PrestaShop

Important points:

The method for creating custom 404 pages may vary depending on the theme used in the CMS.

For the classic theme, you can change the 404 page as follows:

  1. Go to the directory /themes/classic/templates/errors/ and edit the file not-found.tpl:
    1. In the file, change the following lines:
      1. Line with page title:
        <h4>{l s='Sorry for the inconvenience.' d='Shop.Theme.Global'}</h4>
      2. Line with page text:
        <p>{l s='Search again what you are looking for!' d='Shop.Theme.Global'}</p>
In most cases, automatic translation of text templates is enabled, so after changing the text, it can only be displayed in one language. To change the translation text, find the corresponding line in the template files at app/Resources/translations/en-US/, where en-US should be replaced with the name of the directory with the desired language. In some themes, the file may be named 404.tpl, but the path to the file is usually similar to the standard one.
Teneur