Using WordPress functions in non-WordPress PHP script (1 post)

  1. Sudar Muthu
    Posted 7 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.