Hello I am not professional in php script and i want to create one page of redirect people to our new design pages. It works same like tinyurl.com but it is abit different that it will lead the people to our wanted page for 15 seconds first before it leads to the destination page. Could any php professional in this field help me to code out or if you think it is a bit hard i will pay you. Waiting for help!!!!
Create a php file and replace the following with your actual URL <?php header( 'Location: http://domain.com) ; ?>
Actually there are two ways in PHP to redirect the page 1. header('Location : other_page.php'); 2. echo "<script>location.href='other_page.php';</script>";
And how it can be done with php? It cannot be used php function "header", it has to be done by javascript!
All of you that advise about the header : I think you're skipping one very important detail - from SEO perspective - detail. The header can and should include the HTTP status code. You cannot rely on the fact that the implementation of the PHP interpreter that you're using makes it underneath. And although there have been rumors that google is deluting pagerank passed via 301's it's still the best option, compared to 302's etc.
It wont be a "real" 301 if you don't use PHP (or any other server side). If you use just javascript or xHTML, it wont help at all with SEO.