Moz Crawl Diagnostic shows lots of duplicate content issues
-
Hi my client's website uses URL with www and without www. In page/title both website shows up. The one with www has page authority of 51 and the one without 45. In Moz diagnostic I can see that the website shows over 200 duplicate content which are not found in , e.g. Webmaster.
When I check each page and add/remove www then the website shows the same content for both www and no www. It is not redirect - in search tab it actually shows www and then if you use no www it doesn't show www.
Is the www issue to blame? or could it be something else? and what do I do since both www URL and no-www URL have high authority, just set up redirect from lower authority URL to higher authority URL?
-
The www. vs non-www is causing the issue. You should 301 redirect your site's pages to the www. version since it has a higher authority.
You can use the following .htaccess code to accomplish this:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L] -
Oleg is correct, you need a 301 to solve this ASAP.
However, this method only works for Apache servers. You need to determine what type of server the domain in question is being hosted on. It will either be a Linux based Apache server or a Windows IIS environment.
If it is the latter your method of redirecting will be entirely difficult. Google "how to 301 in IIS" for instructions, but really your hosting provider should be able to do this for you.