Redirects based on ptrt query string param.