A 404 should never be a redirect. A redirection status begins with 3
, not with 4
.
You can either include the index.php
(or home.php
or front-page.php
) in your 404.php
or just remove the 404.php
from your theme. Then WordPress will use the index.php
.