MyBB Community Forums

Full Version: Friendly Redirection Pages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey,

Is there away to turn off Friendly Redirection Pages for the search pages just?
(i no there's an option in the admin cp but that turns off all the Friendly Redirection Pages) .

thanks
Go to:

Admin cp > Server and Optimization Options > and turn it off!!!
yeh but that turns all the Friendly Redirection Pages off. I just want to remove the ones like search.php?action=getnew.
destroyer Wrote:Admin cp > Server and Optimization Options > and turn it off!!!
he said only for SEARCH PAGE Big Grin , and he mentioned the thing u said Smile
i dont wanna be harsh, but pls read before u postSmile

open Search.php

find all
redirect (....... , $lang->redirect_searchresults); 

and just delete all the , $lang->redirect_searchresults

i haven't test that, because my testing board is down!Confused
so pls try it , and revert back Smile

many regards
That just makes it say "You will now be redirected" Sad
Ow ok.. i thaught she hasn't find it, because of the "I no".
heloo there

allright sorry for the last fast reply, anyway , i found it

go to ./search.php

find all these
redirect("search.php?action=results&sid=$sid", $lang->redirect_searchresults);

Replace it with

header ("Location: search.php?action=results&sid=$sid"); 
break;

find


redirect("search.php?action=results&sid=$sid&sortby=".$mybb->input['sortby']."&order=".$mybb->input['sortordr'], $lang->redirect_searchresults);
}

Replace it by

header ("Location: search.php?action=results&sid=$sid&sortby=".$mybb->input['sortby']."&order=".$mybb->input['sortordr']); 
break;


many regards