- Impact
- 42
I want to redirect www.mydomain2.com/search.php?keywords=bahbah to www.mydomain.com/search.php?keywords=bahbah
So can this be done? If so can anyone help me out?
So can this be done? If so can anyone help me out?


<?php
$keywords = trim($_GET['keywords']);
header("Location: http://www.mydomain.com/search.php?keywords=" . $keywords);
exit();
?>



