I've been trying to redirect all Subdirectory requests to a Subdomain, so all the requests made to:
domain.com/q2a or domain.com/q2a/2/
gets redirected to:
q2a.domain.com and q2a.domain.com/2/
So I'm using this:
RedirectMatch 301 ^/q2a/(.*)$ http://q2a.domain.com/$1
This works well when redirecting to the Subdomain. The thing is after I being redirected the link looks something like this:
q2a.domain.com/2?qa-rewrite=2
Am I not doing this the right way? Should I be doing this in other way?