Header() no longer working

Just a quick one. The header replacement used in my website is no longer working for some pages. Could this be an error with the server? Maybe too many requests? Can a host limit PHP redirects? (I’ve been testing a lot on new scripts today, but now the old ones stopped working after some redirect loops).


Not much to go on here. Please elaborate.

header(“Location: login_success.php”);

It worked for the past few years. After my many errors and redirect loops today on the server, it no longer seems to work. Bizarre. I thought maybe I had caused the server to put a temp block on redirects?

Some servers require the path to be a fully qualified URI. Try that.

I can try it. But that’s the strange thing, it worked fine, and still does on a lot of pages. Just some decide they don’t want to use it anymore.