Hefta-Gaub Development Blog

March 17, 2007

Sitewide tags for WPMU without core changes

Filed under: development, Wordpress plugins, WordpressMU — zappoman @ 7:25 pm

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.



  1. Or you could just use my simple plugin that does the same without all the hassle of another install 🙂


    Comment by Daan Kortenbach — July 5, 2007 @ 12:16 pm

  2. Daan,

    I will definitely check out your plugin. I’m not a fan of the current solution. But it works.


    Comment by zappoman — July 5, 2007 @ 5:37 pm

  3. 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.


    Comment by Jim — August 2, 2007 @ 4:49 am

  4. […] 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

  5. […] 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

  6. 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

  7. […] 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

  8. Finally I got this working on my WPMU site 🙂

    Comment by Jay — February 14, 2008 @ 3:46 pm

  9. 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.


    Comment by Toolbe Webmaster Search Engine — March 3, 2008 @ 1:09 pm

  10. hi
    i’m so pleased that i saw this page. that article was so great. thanks again i added the rss on this page.
    are you planning to post similar news?

    Comment by WinWin — May 17, 2010 @ 1:35 am

  11. Hello to every one, the contents existing at this site are genuinely amazing forpeople experience, well, keep up the good work fellows.

    Comment by Hermina Mignot — February 6, 2013 @ 11:46 am

  12. Pros :1. Cute animation. great GUI ( Graphical User Interface ).2. Attract people for “klak-klik” the menu and icon (very nice smile face) :72. Combination of colour is good.3. Good font.4. In the first sight people will be know the website owner is a GIRL 5. Very friendly ( for newbie internet users).6. Good theme ( Green theme ).7. Very creative..

    Comment by geosocial — February 8, 2013 @ 12:17 am

  13. Hello, Neat post. There’s an issue with your site in web explorer, might test this? IE still is the marketplace leader and a huge portion of people will miss your fantastic writing because of this problem.

    Comment by geosocial — February 8, 2013 @ 9:38 am

  14. { New Mobile Social Media Intelligence Report ] |

    Comment by Tomoko Bassali — February 13, 2013 @ 9:45 am

  15. Undeniably believe that which you stated. Your favorite justification appeared to be
    on the internet the easiest thing to be aware of.

    I say to you, I definitely get annoyed while people consider worries that they just do
    not know about. You managed to hit the nail upon the
    top and defined out the whole thing without having side effect , people could take a
    signal. Will probably be back to get more. Thanks

    Comment by Mercedes — April 5, 2013 @ 4:48 am

  16. Hello, i feel that i noticed you visited my web site so i got here to return
    the want?.I am trying to find issues to improve my web site!
    I suppose its good enough to make use of a few of your

    Comment by Therapist Phone — May 16, 2013 @ 5:14 pm

  17. Cheers for the post. Be able to halt along with overcome anxiety attacks.

    Comment by www.utahsnaturalkids.com — June 14, 2013 @ 2:34 pm

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at WordPress.com.

%d bloggers like this: