Thanks to the hard work of Dr. Mike, users of WordPressMU have found a solution for implementing site-wide tags and searching without significant changes to the WordPressMU or WordPress core code bases. The basic idea behind the most popular solution is to make an instances of WordPress (classic) that stores a mirror of your WordPressMU sitewide feed. I won’t go into details explaining how this is done, because there is a very clear and well documented process found here in the WordPressMU forums.
I’ve used this solution and it appears to work very well, and is actually very easy to implement. It took me about an hour when I first set it up.
However, in the process of sharpening my wordpress skill, I wanted to learn a little bit more about filters and actions. After seeing what some other people have done with filters, I’m pretty much convinced that if you know the right filter to add, you can probably implement almost anything without making core changes. So, I wanted to try to build a solution that allows you to use Dr. Mike’s cool workaround without making any changes to the wordpress core code. This plugin does that.
Actually, it’s really simply, it just adds a “post_link” filter that returns the $post->guid as the permalink. This is essentially the same thing that was being done by the change to “link-template.php” that Dr. Mike’s instructions say to do for step 6.
Download: You can get a copy of the plugin here.
Install: Standard stuff, rename the file to .php, place it in your plugins directory (in this case on your wordpress install, not on your wordpressmu install) and activate it. After you have it installed you can revert your changes to “link-template.php” back to the original.
Usage: nothing special to do.
Or you could just use my simple plugin that does the same without all the hassle of another install
http://daankortenbach.nl/blog/webontwikkelaar/wpmu-site-wide-tags-solution/
Comment by Daan Kortenbach — July 5, 2007 @ 12:16 pm
Daan,
I will definitely check out your plugin. I’m not a fan of the current solution. But it works.
Thanks
Comment by zappoman — July 5, 2007 @ 5:37 pm
Zappoman,
I was wondering if you might have a copy of the wp-autoblog.php file that Dr. Mike had modified. he’s pretty much done with WordPress, and the forum discussion you all had a few months back is no longer happening. I have everything pretty much set, but it seems the autoblog plugin is no pulling in categories.
Anyway, thanks for all the work on this, as well as all the other cool hacks your are doing for WPMu, I particualrly like the changes to the Wp to Wp importer.
Best,
Jim
Comment by Jim — August 2, 2007 @ 4:49 am
[...] WP-Autoblog plugin (which also includes category for posts–the secret sauce!!!) and Sitewide Tags Permalink Replace plugin (which redirects the permalinks in the single WP installation to the WPMu posts) in the [...]
Pingback by WPmu: Sitewide Tags, Search, and Archive at bavatuesdays — November 5, 2007 @ 3:45 am
[...] WP-Autoblog plugin (which also includes category for posts–the secret sauce!!!) and Sitewide Tags Permalink Replace plugin (which redirects the permalinks in the single WP installation to the WPMu posts) in the [...]
Pingback by Administrative Faculty Theme » WPMu: Sitewide Tags, Search, and Archive — November 5, 2007 @ 7:44 am
can i install this plugin to the WPMU istallation and use the main WPMU blog (blog id 1) for the site wide tag purpose?
Comment by jay — November 11, 2007 @ 4:16 pm
[...] post feeds and their categories–the secret sauce!!!–from your WPMu install) and the Sitewide Tags Permalink Replace plugin (which redirects the permalinks in the single WP installation back to the WPMu posts) in the [...]
Pingback by » WPMu: Sitewide Tags, Search, and Archive WPMu Ed — November 18, 2007 @ 12:03 pm
Finally I got this working on my WPMU site
Comment by Jay — February 14, 2008 @ 3:46 pm
thats was very hard for me, i tried to implement it at http://blogono.com but could not do it, because of the bbpress installed. hope that there will be a simpler site-wide-tag solution soon.
greetings,
mak
Comment by Toolbe Webmaster Search Engine — March 3, 2008 @ 1:09 pm