2010-01-08, 04:55:23
Hi,
thanks, but the code in the index.php don't change anything at all. There's the same behavior if I comment the code or not.
If i do that (in the template.php):
,the page is redirected to /ie6.php, not to /theme/my-theme/ie6.php.
Fab
thanks, but the code in the index.php don't change anything at all. There's the same behavior if I comment the code or not.
If i do that (in the template.php):
Code:
// get page id (url slug) that is being passed via .htaccess mod_rewrite
if (isset($_GET['id']))
{
$id = strtolower($_GET['id']);
}
else
{
$id = "index";
}
}
header('location:'.$id.'.php');
Fab