Duplicate Content Issue
-
My issue with duplicate content is this.
There are two versions of my website showing up
What are the best practices for fixing this?
Thanks!
-
Add this to your .htaccess
RewriteEngine On RewriteCond %{HTTP_HOST} !^domain\.com RewriteRule (.*) http://domain.com/$1 [R=301,L] Or, you can do it in GWT. Regards John -
Just to add, change the details in the snippet to your sites url
-
I agree with John. Use that .htaccess code. Apart from that, I'd also recommend that you setup your preferred way in Google Webmaster Console under Configuration > Preferred domain.