Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Another pretty permalink/mod_rewrite mystery

It looks like the culprit is the wp_redirect function() which includes the header() function. This function appears in several bbPress files. I’m not exactly sure what the intent of them are.

In the functions.php file, I commented out lines 2061 and 2062 in the bbPress functions.php file:

if ( $check != $uri && $check != str_replace(urlencode($_original_id), $_original_id, $uri) ) {
//wp_redirect( $permalink );
//exit;
}

This seems to be helping with the problem. Not sure if it’s going to break something else though.

Skip to toolbar