Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: wp-super-cache strategy


Burt Adsit
Participant

@burtadsit

I’m sure there is a better way of doing things but:

if ( !$bp_no_status_set ) {
status_header( 200 );
global $wp_query; $wp_query->is_404 = false;
}

Forces is_404() to be happy. If this is the problem then it’s up to you guys to make it work elegantly and withing the boundaries of acceptable wp behavior. I don’t have much experience playing by the rules or playing well with the other kids.

Skip to toolbar