Jump to content

href problem . Webmaster Tools duplicating content


Recommended Posts

Hello,

 

I have fount that Google Webmaster Tools is displaying duplicate content related to Meta Titles & Descriptions for some product pages.

 

The problem comes because Webmaster Tools is indexing the product page by two ways:

 

The correct URL: http://www.mydomain.com/product.html

The incorrect malformed URL: http://www.mydomain.com/www.mydomain.com/product.html

 

So, is duplicating the domain in the URL.

 

I have figure up that this can be provoked because an href without the http:// in front of the domain, this is href= "www.mydomain.com" instead using the correct sentence href= "http://www.mydomain.com".

 

I have check the code of the pages that are causing the error but I cannot see any incorrect href.

 

If you point to the incorrect URL http://www.mydomain.com/www.mydomain.com/product.html Prestashop is doing a correct 301 redirect to the correct URL http://www.mydomain.com/product.html but, this is not solving the problem as Google is removing the incorrect ones but adding a new incorrect URLs again that are adding more duplicated content.

 

Any ideas in how can I solve the problem?

 

Thanks

Link to comment
Share on other sites

×
×
  • Create New...