Rules / canonical rules

canonical.href.https

Default
error
Plugin
canonical

The canonical href uses https://.

Why: Search engines prefer https:// pages. A canonical link to http:// asks them to show the insecure version.

When off: http:// canonical links pass.

<!-- ✗ Fails -->
<link rel="canonical" href="http://example.com/about/" />

<!-- ✓ Passes -->
<link rel="canonical" href="https://example.com/about/" />

References