Support » Plugins » Using WordPress functions in non-WordPress PHP script

  • Hello all,

    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?

  • The topic ‘Using WordPress functions in non-WordPress PHP script’ is closed to new replies.