jQuery Ajax returning 404 Error, but correct Response
When you include wp-blog-header.php, you end up bootstrapping the whole WordPress setup routine. The function wp() is called, which calls $wp->main(), which in turn calls various setup functions. One of these is $wp->query_posts(), which calls $wp_the_query->query(), which in turn calls WP_Query‘s parse_query() function. I suspect that the 404 indication is generated in there (your AJAX … Read more