replace location for hyper-redirect