View Single Post

  #3 (permalink)  
Old 25-01-2007, 09:08 AM
RedCardinal's Avatar
RedCardinal RedCardinal is offline
Richard Hearne
Recent Blog:
[CaRP] XML error: Invalid character at line 1152
 
Join Date: Feb 2006
Posts: 959
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
RedCardinal is a splendid one to beholdRedCardinal is a splendid one to beholdRedCardinal is a splendid one to beholdRedCardinal is a splendid one to beholdRedCardinal is a splendid one to beholdRedCardinal is a splendid one to beholdRedCardinal is a splendid one to behold
Default

Quote:
Originally Posted by JamesA View Post
I’m moving my site from irishwidget.com to widget.ie

I’m using this

Code:
<? 
Header( "HTTP/1.1 301 Moved Permanently" ); 
Header( "Location: http://www.widget.ie/test.htm" ); 
?>
If I put the code into my header and it appears on (irishwidget.com/test.htm) should it be able to locate the same page (widget.ie/test.htm) on the new domain.
It just seems to redirect to widget.ie

Will it hurt if all the pages on irishwidget.com redirect to the homepage of widget.ie? Is this the best way to move to a new domain and retain my google trafic?

Any help appreciated.
Best way is probably to redirect oldPageA -> newPageA, oldPageB -> newPageB using .htaccess in link above from Michele.

If your site is very large (hundreds or thousands of pages) then it is bext to do this in chunks so as not to confuse the spiders.
__________________
Search Engine Optimisation - Red Cardinal Internet Marketing
Internet Consultant Ireland | Search Engine Optimisation Services
Catering Company Dublin - My sister's handmade canape company!
Reply With Quote