Forum Moderators: open
It happens that 2 different pages of the site (let's say page1.php and page2.php) will be merged into a unique page (merged.php), while moving to the new domain.
What if I put this 301 redirect script in both page1.php and page2.php
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: [newdomain.com...]
exit();
?>
Is there a risk that google will be confused by the fact that 2 distinct pages permanently redirect to a unique page?
Thank you.