there is no new server. i basically want to replace one current domain.

lets say my main site is iloveKWWH.com but i want to replace it to ihateKWWH.com

thats easy, but that means all my other indexed files will be gone so instead of losing them make them get redirected to ihateKWWH.com

so when someone clicks on google a link named iloveKWWH.com/ilikeyou i would like them to get redirected to ihateKWWH.com/ilikeyou, not just ilikeyou but every other single link under that domain to get redirected

EDIT: I got, the code that works is the one below. but i also must make a new directory etc, I thought i could of just replace the current directory but its all good


RewriteRule ^(.*)$ http://www.new.com/$1 [R=301,L]
bxflow Reviewed by bxflow on . Domain Redirect? Let's say I have a domain name called ILOVEKWWH.COM and have pages already indexed on google, Example: iloveKWWH.com/esoexposed iloveKWWH.com/howtohackKWWH iloveKWWH.com/welovewarez etc. Rating: 5