Duplicate without the canonical page
Autor: Marius T.
Visited 1352,
Followers 2,
Udostępniony 0
Hi Franz-Josef H, thanks again for your valuable answer and thank you all
I did modified the .htaccess file and everything is ok but now I can read a warning from Google Webmaster Tools that sound like this: "error, Duplicate without the canonical page selected by the user".
So the editing of .htaccess file did not solve the canonical problem.
There are some years in which I am searching to understand what I have to do in this issue. I read on forums but seems that my english and my knowledge are not so good ...
The question is what do I have to do exactly so this error to stop? Where (inside index.html or inside all pages) should I insert the canonical mention and which is the syntax?
Thank you!
Posted on the
You should add a canonical tag 'before the </HEAD> tag' in the custom code 'before the </HEAD> tag' on each page in the properties with the following syntax:
<link rel="canonical" href="https://www.mywebsite.com/page.html" />
This prevents duplicate content.
You have to replace www.mywebsite.com with the real domain. And you have to replace page.html with the respective page name + extension.
You have to make sure that pages that may actually and intentionally have the same or similar content may only have a canonical tag on one page. For example, if you have two pages that have the same content, the canonical tag from both pages can only point to one of the pages.
Autor
Oh, so the canonical should be different for every single page. And if my domain is http://www.index.html this will lead to the: <link rel="canonical" href="http://www.index.html " /> is this correct?
Autor
... but why on Earth someone got duplicates pages !?
Autor
Oh this a nightmare that never ends: I do not have duplicate files or content in web sections. In this case sholud I use canonical ref? It drives me cray in the last years.
1. http://www.index.html is not a valid domain because it ends with the html extension. As I wrote above, a valid domain is http://www.mywebsite.com A valid page of this domain is http://www.mywebsite.com/index.html Here you have to enter <link rel="canonical" href="http://www.mywebsite.com/index.html" /> as described above.
2. Duplicate pages can be in a shop, for example, if you have a green t-shirt page and a yellow t-shirt page. The basic page content is the same, the only difference is the price. Google and other search engines do not know this and only recognize the same content. This means that the page is duplicated and is then devalued or even penalized.
3. For "cleanliness" reasons and to avoid penalties and deprecation of your website, it is a must to include canonical tags.
Autor
Thank you! I will insert Before Closing the Head Tag the canonical line for every page.
Ok, then you are really on the safe side.
Autor
Coming back with a new wonder: google says that the canonical for the landing page is not correct set.
So I am reffering at the code inside every page:
Which is the correct syntax for canonical tag in landing page?
<link rel="canonical" href="http://www.softedu.eu/" />
OR
<link rel="canonical" href="http://www.softedu.eu/index.html" />
Hello Marius,
you have opened a new post https://helpcenter.websitex5.com/pl/post/258729
Read the answer there...
Autor
you are right, sorry ...
When a topic is finished, you should close it with the 'correct' tick, so that no further posts are accidentally recorded.