I have a GoDaddy account for my domain. I am forwarding a subdomain to a different server but the relative path is not getting passed when the 301 forward is done.
Example:
test.example.com
->test.cloudapp.net
test.example.com/?token=123
->test.cloudapp.net
(not passing token in redirect request)
.htaccess
method.QSA
(query string append) flag to make that happen.RewriteCond %{QUERY_STRING}
QUERY_STRING
server variable). TheQSA
flag (Apache mod_rewrite) is only required if you are explicitly including a query string on the substitution (target URL) and you want the query string from the request to also be appended (ie. merged). @StephenOstermiller