I am using a domain from last 1 year and its having good link popularity and also indexed my search engine. now i am having a new domain i want that visitor to get view my website frm new domain. which redirection method should i use , so that its good for SEO point of view and SEs tansfer my linkpopularity to my new domain and index it fast. i new website is hosted on different machine with different IP. Should i go for 301 with htaccess or should i write this simple code on my index.php file of my old website. <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.newdomain.com" ); ?> And one last thing for how many days i hav to hav this redirection code there so that SEs replace my old domain with new domain. Please sugest.
Yep, you need to create or locate a .htaccess file on your server. Your .htaccess file will give search engine robots instructions on security and redirects.
Can i please hav that htaccess code and please let me know how many days i have to put that redirection code there
Are you on a apache server? Redirect 301 [FONT=Arial][SIZE=2] /old/old.htm http://www.you.com/new.htm[/SIZE][/FONT] Code (markup):