how can i redirect two domain on the same server.. let say this domains
http://www.game.com -> http://www.games.com
http://game.com -> http://www.games.com
http://games.com -> http://www.games.com (*this is not redirecting*)
all domain all should redirect to this domain http://www.games.com
heres the current htaccess content
RewriteCond %{HTTP_HOST} ^game.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.game.com$
RewriteRule ^/?$ "http\:\/\/www\.games\.com\/" [R=301,L]
RewriteCond %{HTTP_HOST} ^games.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.game.com$
RewriteRule ^/?$ "http\:\/\/www\.games\.com\/" [R=301,L]
RedirectMatchin a directory/.htaccesscontext. But how you apply it will depend very much upon how your vhosts are configured. It would be best to update your question to include them. – Dan Carley Oct 21 '09 at 10:28