htaccess help with redirects

Associate
Joined
16 Jan 2006
Posts
970
Location
North Wales
Hey all

What is the best way to redirect a whole domain name for example if i had x.com and i wanted all traffic to go to y.com

but if x.com had x.com/page2.html or x.com/page3/page3.html it would always redirect to y.com

is it a full domain redirect they call it?

What would be the best way to do this?

THanks
 
Back
Top Bottom