• I recently had my site redesigned as part of a expansion of the site. In the process, something went missing and now when you search on the site, it just returns you to the homepage with no actual results.

    http://www.BMXunion.com

    Search a common keyword like “odyssey” “on the horizon” or “review” and it just returns you to the landing page of the site.

    I’ve been trying different things, installed the Search Everything plugin, adjusted the code for the SearchForm.php to different suggested codes and keep getting the same result. Is there a missing file I need to instal or what?

    My code currently looks like this on my SearchForm.php file..

    <div id=”searchbar”>
    <form method=”get” id=”searchform” action=”<?php bloginfo(‘home’); ?>/”>
    <div class=”searchinput”><input type=”text”
    class=”inputbox” value=”<?php echo wp_specialchars($s, 1); ?>” name=”s” id=”s” />
    <input type=”submit” id=”searchsubmit” class=”button” value=”Search” />
    </div>
    </form>

    Any help would be amazing. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I would go back to whoever coded the site and see if they can figure it out. When I look at the source code, I see two doctypes and two titles.. It looks like the header.php is all messed up.

    Perhaps fixing this part, will fix the search issue.

    Thread Starter Kurthohberger

    (@kurthohberger)

    Hey Christine,

    I contacted him, and just waiting on hearing back (it has been a few days). I figured I’d see if anyone had any solutions to make it quicker. I’m pretty decent with coding and have been looking into solutions all morning. I’m just struggling with figuring out what is causing this and thought I’d give this a shot to resolve it instead of waiting.

    I’ll give a look at the header and see what’s up with that.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search Returning to Home?’ is closed to new replies.