I am trying to use my WordPress blog header and footer on a non-WordPress page. I am using the following code to achieve it.
The filename of the non-WordPress page is index.php and it resides in a directory. So the page url is like this http://domain.tld/test/index.php
Now the page is working fine and is displaying my WordPress blog's header and footer, but the server sends the status code 404 in the header.
Does anybody know how to solve this issue?