Duplicate Content Problem!
-
Hi folks,
I have a quite awkward problem. Since a few weeks a get a huge amount of "duplicate content errors" in my MOZ crawl reports. After a while of looking for the error I thought of the domains I've bought additionally.
So I went to Google and typed in site:myotherdomains.com
The results was as I expected that my original website got indexed with my new domains aswell. That means:
For example my original website was index with www.domain.com/aboutus - Then I bought some additional domains which are pointing on my / folder. What happened is that I also get listed with:
How can I fix that? I tried a normal domain redirect but it seems as this doesn't help as when I am visiting www.mynewdomains.com the domain doesnt change in my browser to www.myoriginaldomain.com but stays with it ... I was busy the whole day to find a solution but I am kinda desperate now.
If somebody could give me advice it would be much appreciated.
Mike
-
is your site hosted in apache environment? if so, read up on htaccess.
Something like this should do it;
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.alias_domain.eu [NC]
RewriteRule ^(.*)$ http://www.main_domain.com/$1 [L,R=301] -
Hi,
thank you for your response. I think that was nearly what I needed. I used this one here:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(www.)?lillymeetslola.com$ [NC]
RewriteRule ^(.*) http://www.lillymeetslola.com/$1?domain=%{HTTP_HOST} [R=301,L]Now every request on every domain but NOT the mein domain should be redirected. Correct?
Can you check that with one of my alternatives if this works properly?
http://internationalmakeupschools.com/
Thanks