I have some code like:
header(\'Refresh: 15; url=\' . $url);
This works fine, except when people are visiting this url via Twitter (posted
Have you tired setting the location header instead, for example.
$url = "http://www.example.com/"; header("Location: " . $url);