I have content on subdomain1.mydomain.com which can't reside on mydomain.com/subdomain1. Nevertheless, all my other content resides in folders of the mydomain.com/subdomain* type.
For the sake of consistency, I'd like the content actually located at subdomain1.mydomain.com to appear as if it were on mydomain.com/subdomain1 — Is there any way, using .htaccess, that I can achieve this, bearing in mind that:
(1) the subdomain itself also has a nested permalink structure, meaning that there are additional folders in the directory structure of the subdomain;
(2) I want the browser to display the address as mydomain/subdomain1 after the redirect.