If you try and search for something at http://www.bloghost.cl/kostya/, you'll get an error and go to the following url: http://www.bloghost.cl/wp-inst/index.php?s=
What do I need to fix there? Sorry, I am new to php :P
If you try and search for something at http://www.bloghost.cl/kostya/, you'll get an error and go to the following url: http://www.bloghost.cl/wp-inst/index.php?s=
What do I need to fix there? Sorry, I am new to php :P
you have to change the action="" in TEMPLATE_PATH . searchform.php (if i remember correctly).
make sure something like http://www.bloghost.cl/kostya/?s=algunas comes out afterwards.
of my installations the vhost one is fine, the subdir one is not.
UPDATE: here we go
<form method="get" id="searchform" action="<?php echo get_bloginfo('url'), $_SERVER['PHP_SELF']; ?>">
That fixed it right away :) Thanks.
I've got the same issue - searching in a user's blog seems to search the main site.
I tried to implement the solution above but it didn't seem to work. I inserted the "get_bloginfo('url')," into the searchform.php of one of my templates.
Is that the correct thing to do? I wasn't sure what TomK32 was referring to by "TEMPLATE_PATH". Does that mean the path to the themes? (In my case, this is /var/www/html/wp-content/themes/<themename>)
Any help appreciated.