We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
New design
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

2.13.7.6. Setting up a 404 page in Webasyst

Attention!

When enabled optimization settings a custom 404 page won't work correctly for URLwhere the word is present pagespeed... To fix the problem, you need to disable optimization settings or not use links with similar keywords.

To set up your own page in Webasyst in the admin panel of the site, go to the section "Site → Design → Templates"And open the file error.html: In the file, you can change the structure so that error handling is carried out separately, for example:

{if $error_code == 404}<h1>Mistake {$error_code}.</h1>
Unfortunately, the page you requested was not found. Probably, You entered a non-existent address, the page has been deleted, moved or is currently temporarily unavailable!
{elseif $error_code}<h1>{$error_code}.
{if $error_message}{$error_message}{else}[s`Error`]{/if}
</h1>
[s`The requested resource is not available.`]
{/if}

Note

In most cases, automatic translation of text templates is enabled, so after changing the text, it can only be displayed in one language.