mirror of
https://github.com/rust-lang/mdBook.git
synced 2025-12-28 06:46:58 -05:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user