Search.php isn't directed right...

Dasher

Seasoned Veteran
Joined
Sep 22, 2009
Messages
2,611
Reaction score
0
FP$
6
instead of going tp url/forum/search.php it goes to url/search.php How do I change it. Also, it has a non english name, I need to change that too.
 
Is this in your header? If so then it means your header isn't on the default search option and is instead on http://yoururl.com/search.php, just open overall_header.html and find:

Code:
{L_SEARCH}
and then change the whole line it's on (just copy the FAQ line and only change the distinct values as im not sure which style your using, therefore I cannot tell you them)

Code:
<a href="{U_SEARCH}">{L_SEARCH}</a>
 
Nathan said:
Is this in your header? If so then it means your header isn't on the default search option and is instead on http://yoururl.com/search.php, just open overall_header.html and find:

Code:
{L_SEARCH}
and then change the whole line it's on (just copy the FAQ line and only change the distinct values as im not sure which style your using, therefore I cannot tell you them)

Code:
<a href="{U_SEARCH}">{L_SEARCH}</a>
In the a href box do I put the search url? I couldn't find the {U_Search} in the header
 
By default phpBB knows that {U_SEARCH} is related to "search.php" and it automatically grabs your board's URL then places the search.php at the end 😉 It's all in the functions file 🙂

For example (taken directly from includes/functions.php):

Code:
'U_SEARCH'				=> append_sid("{$phpbb_root_path}search.$phpEx"),

That's telling it to grab the root path of the phpBB then add search with the .php file extension on the end 😉
 
I changed the root path in the installation to url/forum... -_-
 
It sounded like where you script path is in phpbb configuration in the ACP. If you fixed it..
 
Back
Top Bottom