Wordpress MU Sitemaps

drumltd

Regular Member
Joined
Dec 4, 2008
Messages
475
Reaction score
13
What's the best way to produce sitemaps for wordpress MU, and then submit them to the various search engines?
 
What's the best way to produce sitemaps for wordpress MU, and then submit them to the various search engines?
Lots of discussion of this in their support forums and on random blogs:
Code:
http://mu.wordpress.org/forums/topic.php?id=1116
Code:
http://www.richardpalace.com/2008/06/18/sitemap-for-wordpress-mu/
... and many, many more.
 
Thanks I've read some of those, and people always seem to be confused as to what works and what doesn't.

BTW I'm using subdirectories and not domains if that makes any difference.
 
Thanks I've read some of those, and people always seem to be confused as to what works and what doesn't.

BTW I'm using subdirectories and not domains if that makes any difference.

I don't run WPMU sites anymore so I can't tell you a sure-fire method to setting up proper sitemap management, but I can't imagine it is too complicated. Pretty robust tools exist to create them for single-user WordPress installs. Have you tried running any of the WPMU-specific plugins?

Code:
http://bitminds.com/wpmu-google-sitemaps-generator/

This is a variation of a very popular plugin. The original version auto-pings the major SEs with each sitemap update. I can't say for certain whether this does as well, but it's entirely possible. If you've already tried a handful of plugins, list 'em so others don't end up repeating suggestions you've already tried.
 
I've not physically tried any yet, I keep reading up on various offerings and come accross suggestions that they are unreliable.

The one you mention, looks good except it looks like it uses subdomains instead of subdirectories. I would imagine if you are using subdirectories you probably only need one sitemap in the root, not one for each subdomain.
 
I've not physically tried any yet, I keep reading up on various offerings and come accross suggestions that they are unreliable.

The one you mention, looks good except it looks like it uses subdomains instead of subdirectories. I would imagine if you are using subdirectories you probably only need one sitemap in the root, not one for each subdomain.

You may be right, but I'd give it a try. A quick modification might be the only thing that is necessary to make it work the way that you'd like it to. The XML sitemaps are very easy to read and wrap your head around, so you'd be able to debug pretty easily. With regards to a single sitemap, I imagine that in most situations where WPMU is used, each specific user would want to have the ability to control and submit their own sitemap as each blog is considered an individual site, autonomous of the rest.

If you don't come up with a solution, I'll give it crack in the next few days when I have spare time. Definitely try that plugin though. Worst-case scenario is that you end up having to delete the plug-in and a single wonky sitemap.
 
Last edited:
I've written php to produce sitemap for some other sites, just never a wordpress one. I agree with your comments for most "legit" mu installs, so I suppose as not to leave a footprint, this is what's required for any other site as well then.

I might have a bash myself, if some of the other scripts don't work out, like you say.
 
I've got a initial attempt at this wrriten, it only does the home page, and post pages, not all the various categorydate pages yet. I've tried it on directories, but not on subdomains. it should work though.

How can I attach a file to a post?
 
Back
Top