Google: what happens if there are two rel = canonical attributes on a page

0
299

The other day, Google employee John Mueller answered a question regarding the presence of two rel = canonical attributes pointing to different URLs on the same page.

The question looked like this:

 

The author of the question wrote that according to his tests, in this case, Google ignores these attributes.

Müller confirmed his findings. According to him, in this case, rel = canonical is not defined, and Google uses other signals.

He also added that rel = canonical is not a directive, but just one of the signals used in the canonicalization process.

 

As a reminder, canonicalization and duplicate content detection were discussed in detail in the latest episode of the Search Off the Record podcast, which is being prepared by Google employees.

Also Read:  Let's Encrypt Warned already - Owners of smartphones with Android 7.1 and below will lose access to many HTTPS sites