Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter paulsst

    (@paulsst)

    No-no, I don’t need to edit 404 page. Sorry if I sounded not correct.

    I do need to call the WordPress 404 page from my own script.
    Lets see what I have now: if my script is called with non existing parameter, e.g.:
    http://someblog.com/myscript.php?param=NonExistingValue
    I show that “sorry, such paramenter does not exist”

    Now I don’t want to show my own error. I want to show beautiful and default WordPress 404 page from _my_own_script. I guess I need to call
    /%themepath%/404.php.

    How can I call /%themepath%/404.php from my own script and display it? Thanks.

Viewing 1 replies (of 1 total)