WordPress.org

Support

Support » How-To and Troubleshooting » Slash missing for proper search-function

Slash missing for proper search-function

  • Hi everybody

    It’s kinda my last hope this forum. I’m desparing of my searchfunction.
    I’m using a theme I downloaded to set up a testblog.
    I have installed it even twice. Now the thing is that once it works perfectly well and the other time its broke. Unfortunately I need the one, which’s broken to run…

    The problem:
    when I enter a search request (the word “testsearch”) and hit the enter button this urls are shown:

    http://…blog?s=testsearch&x.x=0&x.y=0 (not working)

    and the 2nd: http://…blog/?s=testsearch&x.x=0&x.y=0 (working)

    So it seems easy, but I didn’t manage it: How can I get the missing slash in place.
    (because if I enter it manually the search works…)

    And why the hell did it disappear anyway?
    I really really hope somebody can help me.
    Thx

    (by the way: I already had a look at my permalinks but I didn’t find any solution…)

    ahya, and here’s some code:

    <div id=”search”>
    <form method=”get” action=”<?php bloginfo (‘url’); ?>”>
    <input name=”s” type=”text” class=”sbar” value=”Search here” onfocus=”if (this.value == ‘Search here’) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ‘Search here’;}” size=”10″ tabindex=”1″ />
    <input name=”x” type=”image” class=”submit” src=”<?php bloginfo(‘template_directory’); ?>/images/s.png” alt=”search” />
    </form>
    </div>

    I thought I could change something where the bold text is.. but until now I couldn’t…

  • The topic ‘Slash missing for proper search-function’ is closed to new replies.
Skip to toolbar