I was trying to write a 301 redirect and used the following code:
<?php header("Location: http://www.google.com/", true, 301); ?>
This was to test if the redirect worked at all, and when it did I changed it to my eventual end link. However, it kept redirecting to Google even after the change.
I have tried clearing browser cache, using different browsers, and have restarted both the computer that I am working on it with, and the server that the code is running on.
What else can I do to clear the old redirect?