Forums

valid single post is displayed.. .with a 404 header (2 posts)

  1. Malaiac
    Member
    Posted 3 years ago #

    on a new WP blog, custom template, some hacks, single posts are displayed, but a header 404 is sent.
    After some search, the header is sent by $wp->handle_404(). Somehow it manage to match all conditions (including count($wp_query->posts) == 0) and send a 404 error.. .while displaying the post.

    Not a problem for my visitors but bad for Google.

    Has anyone seen this problem before ?

  2. Malaiac
    Member
    Posted 3 years ago #

    oh, btw, not a plugin problem... same 404 with all plugins off
    (and no, I have not hacked core code of WP :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.