Google Duplicate Pages 
Автор: DENNIS S.
Просмотрено 85,
Подписчики 1,
Размещенный 0
Google Error Duplicate Home Pages Author: DENNIS S. Visited 1253, Followers 1, Shared 0 Tags: duplicate,error,page,website x5 pro 2024.2
I'm still getting a duplicate page errors for my home page. The duplicates are www.domainname.com and www.domainname.com/index.html
I went to my home page advanced settings and after opening the head tag, I used the canonical for my domain name, like <link rel="canonical" href="https://www.domainname.com/" />
Is this correct? Or should I be using <link rel="canonical" href="https://www.domainname.com/index.html" />
I need one of these options to pass the juice to the other and stop having duplicate page errors in google. Does anyone know how to correct this error?
Please advise
Dennis
Размещено
-----
Overview with AI
For a canonical URL, the base URL (without "/index.html" or "/index.php") should always be used.
-----
Автор
OK Daniel. But Google shows a duplicate for both the domain and index file. How do I do a redirect from the index page to the domain name. I'm on a windows server that uses IIS
I have no experience with Windows Server.
If the canonical tag is set correctly, I would ignore the Google message for now and check again later to see if the message is still there.
-----
Overview with AI
If Google reports duplicate pages despite a correct canonical tag, there can be various reasons for this. Often, this is due to inconsistent redirects, duplicate canonical tags, or page structure issues. It is important to identify and resolve the exact cause to ensure Google correctly indexes the desired canonical page.
-----
Автор
Daniel, this is the reason > inconsistent redirects. How do I do a redirect from the index page to the domain name. Can I do that is X5 Pro? If not how do I do it on a windows server?
Dennis
The canonical is the proper way to set that redirect. If you do a hard redirect either at your hosting or in your HTML, Google will see it and start complaining about it. Google does not like redirects. It also takes forever for Google to correct itself. It will work things out, but it takes a long time.