I have a simple script that does page redirects based on a $_GET variable passed to it. It works fine the first time it runs for a particular value of the var. But if I change the redirect (or any other scripting) for that value, it won't update. It keeps redirecting to the original page as though I didn't update the script.
I was using:
header( "Location: [
url.com",...] '', 301 );
Is the '301' ("Moved Permanently") causing the browser to ignore new requests?
I've since changed it to '307' but maybe it doesn't help since it already ran the 301 once. I've tried clearing my browser cache, and closing & re-opening it, to no avail.
Any ideas?