Quote:
Originally Posted by espmartin
And if you want to redirect TLDs to your main one:
Code:
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.yourdomain\.(net|info|org|name)
RewriteRule (.*) http://yourdomain.com/$1 [R=301,L]
|
MArtin, i have never seen this code before, thanks for sharing. I guess it will work only if you own those TLDs.