Easily search through all blogs into your WordPress Multisite posts by post title, post content or post author. Multisite Global Search doesn’t work with single WordPress installation and it must be activated for all sites using «network activate» in the plugins admin panel.
This plugin is based on my other global search plugin, WPMU Global Search. It has some new features but if you want to keep using the older version of WordPress MU, you can install my other plugin.
Currently in the following languages:
- English (en_GB)
- French (fr_FR) by Fabrice Perrinel
- German (de_DE) by Dennis Vorpahl
- Norwegian Bokmal (nb_NO) by Tore Johnny Bråtveit
- Portuguese (pt_PT) by José Anjos
- Romanian (ro_RO) by Alexander Ovsov Web Geek Science
- Russian (ru_RU) by Sam Savinov
- Serbian (sr_RS) by Andrijana Nikolic http://science.webhostinggeeks.com/multisite-global-search
- Slovak (sk_SK) by Branco WebHostingGeeks.com
- Spanish (es_ES)
If you have created your own language pack, or have an update of an existing one, you can send gettext .po and .mo files to me so that I can bundle it into Multisite Global Search.
Requeriments
- WordPress Multisite Installation.
- MySQL 5.0.1 or greater.
- The MySQL user needs to be assigned the ability to «create views» and «drop views» in WordPress database.
- Permalink structure must be diferent to default when widget is activated in a blog of your network.
Features
- Search on posts and pages.
- Put search form into your code.
Multisite_Global_Search::ms_global_search_vertical_form(your_results_page)
Multisite_Global_Search::ms_global_search_horizontal_form(your_results_page)
- Insert search form in templates using a shortcode:
[multisite_search_form]
- Use type attribute to select vertical form or horizontal form. Default attribute value: vertical.
[multisite_search_form type="vertical"]
[multisite_search_form type="horizontal"]
- Use page attribute to change results page URI. Default attribute value: globalsearch.
[multisite_search_form page="multisite-search"]
Search results will be showed in http://your_blog_URL/multisite-search.
- Search results are showed in a page which contents the shortcode:
[multisite_search_result]
- Show excerpted results:
[multisite_search_result excerpt="yes"]
- Multisite Global Search Widget. Show a search form in your sidebar.
- Customizable relative URI for results page.
- Two different form types, vertical and horizontal.
- Search across all network blogs or only in your blogs if you are logged.
- Entries on every site across your installation appear in search results immediately after publication.
- Receive results from your complete blog network, even sites you do not own or control.
- Customizable style sheet for widget and results page.
Download
Download the plugin from the WordPress Plugin Repository: http://wordpress.org/extend/plugins/multisite-global-search/
If plugin works in your WP version, send your vote and push works in the compatibility form.
@aliciagh
I get this error on activiting your plugin and some script that I found trying to use it directly in the database:
Could that be because my server still has MySQL 4.1.21?
@Roy Yes, “CREATE OR REPLACE VIEW” was added in MySQL 5.0.1. I’ll add this requeriment to the plugin. Thanks.
Anything I can do? I’m still unable to make a sitewide search. You MU plugin gives an error «no valid header» and I haven’t found any alternatives…
@Roy I recommend upgrading to a recent version. Follow this documentation, http://dev.mysql.com/doc/refman/5.0/en/upgrading.html, to upgrade from MySQL 4.1 to MySQL 5.0 or higher.
@aliciagh
I don’t think my host is going to like that 🙂 They’re still testing MySQL 5.
The good thing is that Joomla seems to require 5, so maybe they’ll hurry up a little.
Hi Alicia,
so I have to put a SQL statement to make your plugin run? I have no idea how this has to look like.
Any hints from your side?
-Frank
@Frank J. Are you sure that all requeriments are satisfied? If you don’t use MySQL 5.0.1 or greater, the plugin won’t work.
Alicia, the software tells me that it is Server Version: 5.1.49-0.dotdeb.0.
I tried with Multisite Global Search Version 1.2.2, activated the plugin in my WP3 multisite installation for all blogs — and got the error message:
«Error creating search views in the database. Deactivate Multisite Global Search and check you have create views privilege in your WordPress database.»
404 error
sorry,My meeting little English.
I create a category named globalsearch in site root, and create a new file index.php in globalsearch and place `[multisite_search_result]` in content area ,but in http://locahost/ is noting content and in subdomain 404 error!
thanks!
I doesn’t understand this
3. Create a new page in your blog with default global search uri: globalsearch.
what meaning new page ?
new page is globalsearch.php or is globalsearch or is a category
thanks very much!