mod_rewrite rules for new domain
I was asked privately by e-mail for the mod_rewrite rules that I used to redirect everything from www.gaddis.org to www.jeremygaddis.com. It was a very simple thing to implement, and I did it by creating an .htaccess file in the DocumentRoot of the virtual host for www.gaddis.org. It contains simply:
RewriteEngine on RewriteRule ^(.*)$ http://www.jeremygaddis.com/$1 [R=301,L]Try that, it should get you going. I did the same thing to redirect www.linuxwiz.net to www.jeremygaddis.com, too, by the way.
Related Posts:






Leave a comment