HTML <link> elements, also called HTML <link> tags, are bits in the HTML of a website that specify the relation between the current document and an external resource. They look like this:
link rel= "..." and can be used for all kinds of things, like importing a stylesheet. SEO related link elements are, for instance, the rel=”canonical” link element, which is used to avoid duplicate content issues.
Getting the hang of using these can be difficult. So it’s no wonder you may ask yourself if the search engines can make sense of all the tags in the HTML of your site. Let’s look into that for this week’s question!
Ryan Howard emails us this question:
We have both rel=’amphtml’ and rel=’canonical’ links on the non-AMP pages of our site. Does Google care if there are two link rel tags on a page?
Watch the video or read the transcript for the answer!
Google handling several link tags on a page
“Well, to be fair if you’re using WordPress you probably have a few more. You probably have a link to your RSS feeds and a couple of other things.
And no, Google doesn’t care. It can read very well what these things do. They all have their own purpose, it understands that. There’s no reason to worry about that whatsoever. Good luck.”
Read more: rel=canonical: the ultimate guide »
Ask Yoast series
Case study: Appealing content for a real estate siteNext post »
Order of categories and subcategories in URLs
In the Ask Yoast series, we answered SEO questions from our readers. Check out the other questions!
Check out our must read articles about Technical SEO
This is the ONLY tutorial you'll need to hugely increase your search engine traffic by improving your WordPress SEO. Want higher rankings? Read on!
The canonical URL allows you to tell search engines that certain similar URLs are actually one and the same. Learn how to use rel=canonical!
This guide discusses what hreflang is, what it is for and gives in-depth information on how to implement it for your multilingual websites.
The robots.txt file is a file you can use to tell search engines where they can and cannot go on your site. Learn how to use it to your advantage!