• Resolved wrk

    (@wrk)


    Hello,

    I got the following problem (only on my online server):
    My 404.php template is not loaded by WP during an unknown page/post request.

    Online server is running:
    – PHP Version 5.3.3-7+squeeze3
    – Apache/2.2.16 (Debian)

    After some debugging I tackled down the occurrence of the problem:
    During the request WP sets the header to 404 in the following file ‘wp-includes/functions.php’ with function ‘status_header( 404 )’.

    The ‘status_header’ functions calls the PHP ‘header’ function which results in a “404 Not Found” page where it should load the ‘404.php’ template.

    I guess this is a server related problem. Anybody some ideas?

    thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wrk

    (@wrk)

    Anybody experienced the same??

    Thread Starter wrk

    (@wrk)

    Problem solved.

    Problem origin was at the hosting provider. They found a fault in the way (they told me) “SEF Url’s” where handled.

    They couldn’t supply me with more detailed info unfortunately. Only info I got is that they fixed some in the VHost software.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 header breaks loading 404 template’ is closed to new replies.