Simple htaccess redirection
Posted on 2010-11-09
Quick and easy one (I think!) for someone who knows what they are doing!
I need to redirect our .org domain to the .com domain, but without all .org pages going to the .com index.
For example, I need www.xyz.org to go to www.xyz.com but also www.xyz.org/folder/index.php to go to www.xyz.com/folder/index.php
The directory structure is identical on both domains (which are on separate servers), and we're moving the .com domain. I'm getting lost in .htaccess can anyone help? Also need the code the deal with URLs with and without the www part.