The MU forums have moved to WordPress.org

mu site wide search (5 posts)

  1. storpappa
    Member
    Posted 16 years ago #

    Do we have to do anything to enable the individual blogs to be searchable locally or sitewide?

    Not sure what I may have done, but all the blogs individually are only searching the main blog for queries. I would certainly want them to search themselves, or site wide across all blogs. But having them just search wp_1 doesn't provide any real benefit.

    Thanks for any info

  2. andrea_r
    Moderator
    Posted 16 years ago #

    By default, a sub-blog should search itself, usign the search on its own sidebar.

  3. storpappa
    Member
    Posted 16 years ago #

    yep, that would be the expected behavior, but not what I am seeing. The main blog searches itself, the sub blogs return results from the main blog only

  4. dsader
    Member
    Posted 16 years ago #

    Compare the default seachform with the themes that generate the bug.

    Theme's with their own search widgets or searchform are often the cause in my experience:

    Replace
    <form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>">
    with
    <form id="searchform" method="get" action="<?php bloginfo('home'); ?>">

  5. dsader
    Member
    Posted 16 years ago #

    A nice bit to add to your theme/widgets is "gt_search_all_blogs".

    http://wpmudevorg.wordpress.com/project/GT-Search-All-Blogs

About this Topic

  • Started 16 years ago by storpappa
  • Latest reply from dsader