Forums

Search results in 404 (5 posts)

  1. shalzers
    Member
    Posted 1 year ago #

    Installed this theme locally and managed to break it in under 30 seconds.

    Search leads to 404.
    http://img.skitch.com/20100930-xmikxwp9tm9kqsjb96yr26us41.jpg

    Here is the documentation on how to create a search page.
    http://codex.wordpress.org/Creating_a_Search_Page

  2. shalzers
    Member
    Posted 1 year ago #

    Might as well fix that </h2> tag in the 404 while you're at it.
    <h2 class="title title-single"><a href="#" title="Error 404 - Not Found">404 Error - Not found<</a>/h2>

    Should be <h2 class="title title-single"><a href="#" title="Error 404 - Not Found">404 Error - Not found<</a></h2>

  3. Doug Nix
    Member
    Posted 1 year ago #

    When I use the search box it simply returns me to the home page. No 404, no list of found posts.

    I tried to follow the information on http://codex.wordpress.org/Creating_a_Search_Page, but I couldn't get that to work any better.

    Some more explicit guidance, or better yet the corrected script for the searchform.php, would really help.

  4. shalzers
    Member
    Posted 1 year ago #

    Hi Macadk,

    Are you the theme designer?

    You need to create a page search.php in the themes directory.
    the link provided offers step by step instructions on creating a search page.

    http://codex.wordpress.org/Creating_a_Search_Page

  5. Doug Nix
    Member
    Posted 1 year ago #

    shalzers,

    No, I'm not the theme designer. I wish I had that level of skill. In fact this problem has inspired me to educate myself further on the code side of WordPress.

    On the positive side, I tracked the fault to the Robots Meta plugin from Yoast that I was using. It just wouldn't play well with WP 3.0.1. Once I disabled that, I was able to get the search box to work perfectly.

    I also discovered that Yoast has published a new 'all-in-one' plugin that handles the robots meta tags as well as a lot of additional SEO tasks much more elegantly than the three plugins that I was using for that purpose. It's worth checking out if you are looking for a good SEO plugin.

    http://yoast.com/wordpress/seo/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags