How can I write a .htaccess mod_rewrite rule to redirect all traffic to a specific subfolder to a different subdomain, but include all the trailing URI and url structure and in a SEO friendly way.
ie.
www.site.com/photogallery/2010/January-Spring-Photos/
-to-
photos.site/2010/January-Spring-Photos/