I have a website that recently had a domain name change, and I am trying to set the rules up to include ANYTHING that is after the ruleset to be redirected (sub domains currently work, but file exensions do not) The current ruleset I have in place is:

```
RewriteRule ^subdomain/(.*)$ http://subdomain.example.com [R=301,L]

```

If I go to www.example.com/subdomain/ or www.example.com/subdomain/another\_directory/ it redirects to the appropriate site, but if I go to www.example.com/subdomain/file.ext or www.example.com/subdomain/another\_directory/file.ext, the redirect does not work. I know I need to change the regex so that it works correctly, but i'm not sure what it needs to be changed to.