: Do you set the title attribute of the canonical link tag to the page title? A <link ...> tag supports the title="..." attribute. When used with rel="canonical", what do you set the title
A <link ...> tag supports the title="..." attribute.
When used with rel="canonical", what do you set the title attribute to? Would that be a hard coded title such as:
title="Canonical URL"
Or do you set it to the page title, such as:
title="Home Page"
It seems to me that the page title makes more sense. Is there documentation about that attribute along rel="canonical"?
More posts by @Angela700
1 Comments
Sorted by latest first Latest Oldest Best
You don't need to use the title attribute. It doesn't add any functionality.
This is what your canonical tag should look like. Make sure you use the FULL url including the correct http or https protocol. Not relative urls.
<link rel="canonical" href="https://blog.example.com/dresses/green-dresses-are-awesome" />
Here's what Google recommends: support.google.com/webmasters/answer/139066?hl=en
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.