I'm using the following code (repeated) to redirect 6 additional TLDs to one primary TLD. is there a more efficient way to achieve the same result?
RewriteEngine on
RewriteCond %{HTTP_HOST} !^(www\.)?mydomain\.com$ [NC]
RewriteRule .?$ http://www.mydomain.com%{REQUEST_URI} [R=301,L]
This redirects any domain which is not .org to .org