lucy24 - 8:21 pm on Jul 2, 2013 (gmt 0)
# Internally rewrite <subdomain>.example.com/<URLpath> to example.com/subs/<subdomain/<URLpath>
# non-www to www if not www or blog
The www redirect needs to be BEFORE all internal rewrites. This principle applies to all redirects and rewrites all the time, unless there is a clear and specific reason to use a different ordering.