Mobile app version of vmapp.org
Login or Join
Merenda212

: HTTP-header canonical and link tag canonical on same page? I've come across websites using both a HTTP-header based canonical as well as a tag-based canonical. Sometimes they are not referencing

@Merenda212

Posted in: #HttpHeaders #RelCanonical #Seo

I've come across websites using both a HTTP-header based canonical as well as a tag-based canonical. Sometimes they are not referencing the same URL which brings me to my question - does one have priority over the other and is there a SEO related penalty to using both on same the same page?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Merenda212

2 Comments

Sorted by latest first Latest Oldest Best

 

@Turnbaugh106

Since Googlers mention this issue on one of their blog post:


Specify no more than one rel=canonical for a page. When more than one
is specified, all rel=canonicals will be ignored.


5 common mistakes with rel=canonical

Google algorithm can can ignore both of them if they point to different urls

10% popularity Vote Up Vote Down


 

@Barnes591

If they do not link to the same there will be trouble for the good old g-bot. He does not know what to do then with those pages. The outcome will be less or wrong indexed pages. Which will lead to loss of rankings.

Normally such stuff will be shown in the search console messages if something like this is happening.

Same with hreflang - different/wrong setup = google bot gets confused and does "stupid stuff".

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme