A client had an application at
www.example.com/dir. They have now set up a subdomain at
dir.example.com. The subdomain references the files stored at
www.example.com/dir. They'd now like people accessing
www.example.com/dir to be redirected to
I'm guessing I need a
.htaccess to sit in
www.example.com/dir and if it's accessed with www, redirect to the subdomain, just not sure of the syntax.