Skip to content

Commit db092a4

Browse files
committed
State canonical URL using <link> not <meta>.
The Google SEO docs describe using the link element to specify the canonical page in a redirect. They don't mention anything about <meta>.
1 parent edda3d1 commit db092a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/theme/redirect.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<title>Redirecting...</title>
66
<meta http-equiv="refresh" content="0; URL={{url}}">
7-
<meta rel="canonical" href="{{url}}">
7+
<link rel="canonical" href="{{url}}">
88
</head>
99
<body>
1010
<p>Redirecting to... <a href="{{url}}">{{url}}</a>.</p>

0 commit comments

Comments
 (0)