you should put that redirect only for google bot
<?php
if ( strstr($_SERVER['HTTP_USER_AGENT'], "Googlebot" ) == true ){
header("Location: httx://googledotcom",TRUE,302);
}
but you should put a website with pr 7-8 not google because it can became suspicious