Having http://site.com/category/xyz = http://xyz.site.com/
I would like to move the content from each category to its equivalent subdomain blog, so that when I will access http://site.com/new-post/, where the post belongs to category XYZ, site.com will do a 301 redirect to http://xyz.site.com/new-post/
So, is there any other way besides then the hardcore extracting data from database and move it to its new place?