We had something like this in our old template, it was under author.php but we have a new template. I moved it over to there and now it doesn’t work like it did in the old template.
`<?php
global $wp_query;
$curauth = $wp_query->get_queried_object();
switch ($curauth->nickname){
case ‘lwilliams’:
echo ‘<meta http-equiv=”refresh” content=”0;url=http://www.andavotravel.com/about/press-release/”>’;
break;
case ‘klittle’:
echo ‘<meta http-equiv=”refresh” content=”0;url=http://www.andavotravel.com/host/”>’;
break;
case ‘mcameron’:
echo ‘<meta http-equiv=”refresh” content=”0;url=http://www.andavotravel.com/about/company”>’;
break;
case ‘joshcameron’:
echo ‘<meta http-equiv=”refresh” content=”0;url=http://www.andavotravel.com/advisor”>’;
break;
default:
echo ‘<meta http-equiv=”refresh” content=”0;url=http://www.andavotravel.com/advisor/’ . $curauth->nickname . ‘”>’;
break;
}
?>
`