Re: Help with mod rewrite
I found a 301 redirect in bb-includes/functions.php
Now how to get rid of it??? This 301 keeps me from jumping to page2
if ( 1 === bb_get_option( ‘debug’ ) ) :
echo “<table>n<tr><td>”. __(‘REQUEST_URI’) .”:</td><td>”;
var_dump($uri);
echo “</td></tr>n<tr><td>”. __(‘should be’) .”:</td><td>”;
var_dump($check);
echo “</td></tr>n<tr><td>”. __(‘full permalink’) .”:</td><td>”;
var_dump($permalink);
echo “</td></tr>n<tr><td>”. __(‘PATH_INFO’) .”:</td><td>”;
var_dump($_SERVER);
echo “</td></tr>n</table>”;
else :
if ( $check != $uri ) {
if ( version_compare(phpversion(), ‘4.3.0’, ‘>=’) ) {
header(“Location: $permalink”, true, 301);
} else {
header(“Location: $permalink”);
status_header( 301 );
}
exit;
}