can you provide some more details please.
you say the redirect does not work. Please be more specific.
Does it not redirect at all?
Does it redirect to the wrong page?
Saying something "does not work" is very broad.
we need to know what exactly _is_ happening versus what you are expecting to happen.
if it is not doing anything at all, I would suspect a PHP error is occurring, try adding the following code at line 1 to turn error reporting on:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>