1. Change any URL from the old domain to the new domain. That includes "forums.old.com/blah" to "forums.new.blah"

2. When the URL has no subdomain, it changes the "root" to a subdirectory. That means just plain ol' "new.com" or "www.new.com" points to "new.com/something". But if there is a subdomain, then...

3. Subdomains point to subfolders. "blah.new.com" points to "new.com/blah" But I want the subdomain to still be shown in the address bar.

The problem is getting these three rules to work together. I'dd admit, I don't know jack shit about mod_rewrite, my only hope is to just find snipplets online and copy/paste them. Here is what I have already:

Each chunk of code works perfectly together, but when you have all three of them in there, they conflict with each other and end up not working. If you wane to see how this is working, follow the following links: