SiteCozy

  • My account

Does a canonical tag pass link juice between HTTP & HTTPS of URLs

2018-09-09

Today, if you use a WordPress default installation and if you switch to HTTPS, a page URL will available from the HTTP & HTTPs version of your website URL without any 301 redirects between the two URLs.

Example: 

http://yourdomain.com/yougreatpage/
Content of canonical tag: https://yourdomain.com/yourgreatpage/”
https://yourdomain.com/yourgreatpage/
Content of canonical tag: https://yourdomain.com/yourgreatpage/

In this case, Google would display https for every URL in the google search result. Google would know that the HTTPs version of every page is the default URL.

However, what would happen if someone would create a link to one or several URLs using the HTTP version not the HTTPS version???

Would the HTTPs version of a HTTP version benefit from the incoming link to the HTTP version of a webpage?

Example: someone creates a link on a page pointing to http://yourdomain.com/yougreatpage/ Would https://yourdomain.com/yougreatpage/ benefit from this incoming link? If we think about it, there are no redirects between the two URLs. So would the canonical tag be enough to mention to Google that it is the same URL?

Our investigation

We found only two videos from Google discussing 301 redirects vs canonical tags. 

Those videos are outdated. I don’t know if back in 2009, Google knew how to handle HTTPS. We have difficulties to trust canonical tags. On the other hand, several Google communications reported that 301 redirects didn’t lose PageRank.  I haven’t been able to find any official reports from Google stating that the canonical tag passed link juice when you moved your website from HTTP to HTTPs. On the other hand, I don’t see any disadvantages of redirecting all the URLs to HTTPs URLs. 

Consequently, if you want to be on the safe side, have a 301 redirect between your former HTTP URLs and your new HTTPs URLs.

Add the following code to htaccess to redirect all HTTP urls to HTTPs: 

RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Our opinion

Back in the day, when the canonical tag was created in 2008, there were not as many dynamic contents, advertisement, dynamic comment system as now. There is another issue related to a canonical tag. A page with a different URL and the same canonical tag should look identical. However, when a bot crawls a page A at 8:00 am in the morning, this page accessed from another URL at 12:00 am by the bot may look different for numerous reasons.

Canonical tags should not be trusted for dynamic content. Some people may think that their content does not change. However, think about the rotating advertisements, the changing code inside your HTML, the timestamp inside your HTML, changing pictures and videos, Hosted iframe…

Related Posts:

  • 301 redirects vs canonical tags
  • Is there a SEO benefit to move your website from HTTP to HTTPs?
  • How important Canonical tags are for Google SEO?
Download our Broken link checker freeware here Buy a license key for the Sitecozy broken link checker

Customer Login

Lost password?

Categories

  • Webmaster advice
  • SEO advice
  • Web hosting
  • SiteCozy link checker KB
  • WordPress theme & plugin reviews
  • All articles
Disclosure: We are a professional review site that receives compensation from the companies whose products we review. We test each product thoroughly and give high marks to only the very best. We are independently owned and the opinions expressed here are our own.

Copyright Sitecozy 2018