Several link tags on a page • Yoast


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 further down the page for my 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.”

Ask Yoast

In the series Ask Yoast, we answer SEO questions from our readers. Have an SEO-related question? Maybe we can help you out! Send an email to [email protected].

Note: please check our blog and knowledge base first, the answer to your question may already be out there! For urgent questions, for example about our plugin not working properly, we’d like to refer you to our support page.

Read more: ‘rel=canonical: the ultimate guide’ »



Source link

?
WP Twitter Auto Publish Powered By : XYZScripts.com