I had a problem on a PHP page that was supposed to redirect to another page after some process was done. This is the code I used.
header("Location: http://example.com");
This kept giving me a
Web: no gateway reply
So after looking at the PHP manual for the header function and HTTP status codes I managed to get it working with this redirect.
header("Location: http://example.com", 307);
