rewrite 301 replace domain name with a new domain name

Posted by user172697 on Stack Overflow See other posts from Stack Overflow or by user172697
Published on 2010-04-21T07:17:42Z Indexed on 2010/04/21 7:33 UTC
Read the original article Hit count: 550

Filed under:
|

Hello , guys I need some help on mod rewrite 301 , to redirect my old website address to the new address , here is my scenario

ive www.domain1.com/page1/ want to be redirect to domain2.com/page1/

ive to replace all request goes to domain1 with domain2 and keep the page after .com so watever was after .com should be the same just replace domain1 with domain2 . anyone can help me with this Regards

© Stack Overflow or respective owner

Related posts about mod-rewrite

Related posts about .htaccess