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>.
This commit is contained in:
Aman Verma 2022-11-12 14:54:28 -06:00
parent edda3d1b51
commit db092a404e
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Redirecting...</title>
<meta http-equiv="refresh" content="0; URL={{url}}">
<meta rel="canonical" href="{{url}}">
<link rel="canonical" href="{{url}}">
</head>
<body>
<p>Redirecting to... <a href="{{url}}">{{url}}</a>.</p>