Hi, I run phpld on an addon domain. My problem is that when logging in to addon.maindomain.com shows the same result as addon.com & because of a server error a little while back, google had indexed the addon.maindomain.com as well and now I'm afraid that I will be penalized for duplicate content. I would like your advice and guide on how to fix this problem. I've considered a disallow on the robots.txt file, but I don't know exactly how to write it or perhaps a 301 redirect on htaccess file, but when adding this line: RewriteRule (.*) http://www.addon.com/$1 [R=301,L] I get blocked from accessing the domain at all. I'd appriciate your experts help.
It's perfectly OK that addon.domain.com content is same as addon.com Place this .htaccess file in public_html folder of addon domain : RewriteEngine On RewriteCond %{HTTP_HOST} ^addon\.domain\.com$ [NC] RewriteRule ^(.*)$ http://www.addon.com/$1 [R=301,L]
Just click the "scales" icon to the top right of my post. This would help you rep. others in the future too