Forum Moderators: open
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com [OR]
RewriteCond %{HTTP_HOST} example\.biz [OR]
RewriteCond %{HTTP_HOST} example\.net [OR]
RewriteCond %{HTTP_HOST} example\.us
RewriteRule ^(.*)$ [example.com...] [R=permanent,L]
Will google have any issues with this?
Thanks
[edited by: vitaplease at 7:04 am (utc) on Nov. 10, 2004]
[edit reason] examplified [/edit]
Of course, this means that you have multiple copies of the same site indexed in google and that you will undoubtedly trip a duplicate content filter.
I suspect your best option is to redirect visitors from each of the 3 domains to 1 domain that you choose as your main site. This way, inbound links to any of the 3 should flow to the one main site, and you will not have duplicate copies of the site in google. Using a 301 redirect should accomplish this easily - although how you set this up directly from apache I don't know... sure it must be possible though.
[edited for typos]
I suspect your best option is to redirect visitors from each of the 3 domains to 1 domain that you choose as your main site. This way, inbound links to any of the 3 should flow to the one main site, and you will not have duplicate copies of the site in google. Using a 301 redirect should accomplish this easily - although how you set this up directly from apache I don't know... sure it must be possible though.
Isn't that exactly what he is doing with those rewrite rules?