Skip to content

Commit fb1cd59

Browse files
committed
Add some explanation for redirects
Because some of it is weird, and when redirecting for the JSON files, getting HTML is surprising.
1 parent 98336e0 commit fb1cd59

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

_layouts/redirect.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<meta charset="utf-8">
4+
<title>Redirecting&hellip;</title>
5+
<link rel="canonical" href="{{ page.redirect.to }}">
6+
<meta http-equiv="refresh" content="0; url={{ page.redirect.to }}">
7+
<meta name="robots" content="noindex">
8+
<h1>Redirecting&hellip;</h1>
9+
<p>
10+
Several redirections on json-schema.org are special cases:
11+
</p>
12+
<ul>
13+
<li>The unversioned meta-schema URIs should no longer be used.</li>
14+
<li>The vocabularies are represented by their specification text.</li>
15+
<li>The "latest" specification URIs are for convenice of browser
16+
bookmarking only.</li>
17+
</ul>
18+
<a href="{{ page.redirect.to }}">Click here if you are not redirected.</a>
19+
<script>location="{{ page.redirect.to }}"</script>
20+
</html>

0 commit comments

Comments
 (0)