Trying out 307 redirect instead of 301.