There is such an engine and it returns 302 found to 404 error. It is necessary to immediately issued code 404.

How to fix this?

Lego Shop

Nonexistent link

In htaccess is

#errors RewriteRule 301$ core/core_301.php [L,QSA] RewriteRule 404$ core/core_404.php [L,QSA] # ErrorDocument 301 http://example.com/301/ ErrorDocument 403 http://example.com/404 ErrorDocument 404 http://example.com/404 

I really need help.

header ("HTTP / 1.0 404 Not Found");

In the error file is sent.

    1 answer 1

    Corrected in the engine itself. there was a rewrite, here it was in the file /includes/aux_pages.php:

      if (!$p) { //not found //header("HTTP/1.1 404 Not Found"); header("Location: http://".CONF_SHOP_URL."/404/"); exit; } 

    The developers are stupid.