I think I already know how to solve this problem: this post is really (a) to find out if I'm on the right track; (b) to get any hints which may be going; or (c) to find out that someone else has already done what I want to do :-)
Here's the situation: we are a collegiate university, and each of the six colleges host their own set of blogs. Some of these have similar names - for example each college has a blog called snapshot - some are differnet, but we need to discriminate between the colleges and distinguish them from centrally-run blogs.
At the moment we have blogs hanging off individual college sites, so there is:
(csm is Central St Martin's college of art - you might remember the Pulp song which mentions them :-)
Each college will have a number of blogs - in some cases quite a lot of them.
We are now transferring all the diffenret blogs onto a single wordpress 3.0 server, blogs.arts.ac.uk.
To keep distinguishing the colleges the best thing we can work out to do is to use directories. for the colleges, and have the various blogs hanging off them. (We also have central blogs straight off blogs.arts.ac.uk).
So we would like to have (say)
Problem: slash characters are not allowed in blog names.
The solution I'm working towards is this: we replace the slash with something else (say an underscore, though I'm not definite about that yet); I then modify the smart URL code to turn
Am I insane to try this? I am pretty experienced with regular expressions (though less so with mod_rewrite) so I'm confident I can get the code working. Any hints or suggestions? I don't suppose there's already a plug-in which actually does all of this, is there?
Thanks in advance,
University of the Arts London