Forum Moderators: phranque
i have confusion regarding .htaccess file.
i have two domain www.domain.com and another is www.newdomain.com
i want to do below mention task via .htacces
domain.com
domain.com/index.html
www.domain.com/index.html
to redirect www.newdomain.com
and also need 301 redirection for inner pages too.
domain.com/test.html ---> newdomain.com/test.html
domain.com/test1.html ---> newdomain.com/test2.html
have any idea how to do this?