search widget invalid directory
-
Hi, my first post and already needing help:)
I´m having a problem with the search widget in my blog. When I type some tag and go for a internal search the browser tries to find teh index.php in a directory that doesn´t exist. I´ve noticed that my main blog directory appears twice, repeated. If I delete one of the repeated folders then I get the search results.
I´ll exemplify:my blog directory is:
server root/konstriktor/public_html/blog/
my tries to find the index.php in:
http://konstriktor.net/blog/blog/index.php?s=as you can see there is a double directory which causes the problem.
now my searchform.php have this code:
<form method=”get” id=”searchform” action=”<?php echo get_bloginfo(‘url’), $_SERVER[‘PHP_SELF’]; ?>”>
<p>
<input type=”text” value=”Palavras chave” name=”s” id=”searchbox” onfocus=”this.value=””/>
<input type=”submit” class=”submitbutton” value=”Procurar” />
</p>
</form>and my sidebar.php this one:
<?php include (TEMPLATEPATH . ‘/searchform.php’); ?>the blog:
http://konstriktor.net/blog/please, someone give me a help here, I have no idea what is the problem.
thanks!!The blog I need help with is: (visible only to logged in users)
-
The blog you specified at konstriktor.net does not appear to be hosted at WordPress.com.
This support forum is for WordPress.com hosted blogs only. If you have a self-hosted WordPress blog you need to seek help at the WordPress.org forums, not here.
If you don’t understand the difference, you may find this information helpful.
-
- The topic ‘search widget invalid directory’ is closed to new replies.