I have a wordpress blog which was running on example1.com/folder or http://www.example1.com/folder. Now I have to redirect it to example2.com or http://www.example2.com . How can I do this using .htaccess?
I have a wordpress blog which was running on example1.com/folder or www.example1.com/folder. Now I
Share
This checks if it receives traffic for
www.example1.comorexample.comand if so sends anything going to/folder/.*towww.example2.com/.*For example:www.example1.com/folder/blah.htmlbecomeswww.example2.com/blah.html