WebSite X5Help Center

 
DENNIS S.
DENNIS S.
User

Google Error Duplicate Home Pages  en

Autor: DENNIS S.
Visitado 762, Followers 1, Compartido 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

Publicado en
2 RESPUESTAS - 2 úTIL
Daniel W.
Daniel W.
User

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.

Leer más
Publicado en de Daniel W.
Daniel W.
Daniel W.
User

Correction - with a space at "link rel".

<link rel="canonical" href="https://www.domainname.com/index.html" />

Leer más
Publicado en de Daniel W.