Google Error Duplicate Home Pages ![en](https://d33s48lcrmbkow.cloudfront.net/1x1.png)
Autor: DENNIS S.
Besucht 303,
Followers 1,
Geteilt 0
All of a sudden I'm getting duplicate page errors for my home page. The duplicates are www.domainname.com and www.domainname.com/index.html
Which is the correct URL within X5 Pro
Does anyone know how to correct this error?
Please advise
Dennis
Gepostet am
In WebSite X5 under...
3 Sitemap
... mark the homepage and click on "Properties" at the top, then click on "Advanced" and at ...
Custom code:
Before the closing HEAD tag
...add this code...
<linkrel="canonical" href="https://www.domainname.com/index.html" />
... so Google knows which is the correct address.
Correction - with a space at "link rel".
<link rel="canonical" href="https://www.domainname.com/index.html" />