Forum Moderators: coopster
I am shifting my current website to a new domain.
Now the problem is that if I change to new domain then
the pages from search engines will be of no use and I will lost the traffic until my new domain comes to search engines.
Is there a way through which i can send the traffic to my new domain from the current site pages which are listed on seach engine. i.e. if someone clicks on the pages in search engine then he will be redirected to that page of my new domain.
Thanks
HS
If not, you can use a php redirect, not sure the SE's will be overly happy about it but its worth a go.
at the very top of the page, before anything has been sent to the browser (not even an HTML space) put
<?php
header("location:http://www.newdomain.com");
exit;
?>
that should do the job.
ta,
Hughie
[edited by: jatar_k at 5:07 pm (utc) on May 25, 2004]
[edit reason] linked it up [/edit]