Create redirect_301_with_query

when migrating domains this will do HTTP 301 and redirect to new domain with the query paramters