WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Category base causes search to fail

[Resolved] Category base causes search to fail

  • Hello

    I have set up a category base of holidays however, if you are in the category of holidays/travel-news then try and do a blog search the search fails with no results.

    This does no happen in tags/ of anywhere else is there a fix perhaps.

    The main site is at / but the files are at /cheaper-holidays/

    In the header for the search we have

    <form method=”get” action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”> <p> <input name=”submit” type=”image” src=”<?php bloginfo(‘stylesheet_directory’);?>/images/search_button.gif” alt=”search” /> </p> <p><input name=”s” type=”text” class=”src_field” value=”<?php the_search_query(); ?>” /></p> </form>

    Thanks for reading

    Kevin

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Category base causes search to fail’ is closed to new replies.