How-To: Redirect one domain to another with mod_rewrite
Apr.23, 2008 in
How To
Recently I needed to change the end of one of our domains from .com to .org. However we wanted to maintain any old links that pointed at the .com domain. Using mod_rewrite you can achieve this move seamlessly for users, and keep all the parameters in tact. Simply add the following lines to your .htaccess [...]
