pagespeed
if included optimization settings... To fix the problem, disable optimization settings or not use links with similar keywords.In OpenCart, the 404 error page is generated directly in the CMS, which is why the setup instructions your 404 page will not give the desired result.
You can create your 404 page in OpenCart by:
error/not_found
.catalog\language\ru-ru\error\not_found.php
where instead of ru-ru
you need to specify the language you are using.
The file will contain only a few parameters:
// Heading $_['heading_title'] = 'The requested page was not found!';
// Text $_['text_error'] = 'Sorry, the page you requested was not found. Probably, you specified a non-existent address, the page was deleted, moved or is now temporarily unavailable!';
Both parameters can be changed to suit your needs. If you want to add any styles or pictures, you can use the standard HTML-tags. For example, to display a picture, you can do this:
<?php // Heading $_['heading_title'] = 'The requested page was not found!'; // Text $_['text_error'] = 'Sorry, the page you requested was not found. <img src = "https://example.com/404.png">';