Skip to content

Commit 185c636

Browse files
annevksideshowbarker
authored andcommitted
Make html-differences.whatwg.org redirect
Fixes #100.
1 parent 783d672 commit 185c636

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

debian/marquee/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ marquee hosts simple static sites.
33
Repos that deploy to this server:
44
- https://github.com/whatwg/books/blob/master/.travis.yml
55
- https://github.com/whatwg/figures/blob/master/.travis.yml
6-
- https://github.com/whatwg/html-differences/blob/master/.travis.yml
76
- https://github.com/whatwg/resources.whatwg.org/blob/master/build/deploy.sh (used by many specs)
87
- https://github.com/whatwg/whatwg.org/blob/master/.travis.yml
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
server {
22
server_name html-differences.whatwg.org;
3-
root /var/www/html-differences.whatwg.org;
43

54
include /etc/nginx/whatwg.conf;
5+
6+
return 301 https://html.spec.whatwg.org/dev/;
67
}

html5.org/index.htm

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,17 @@
1515
<body>
1616
<h1>html5.org</h1>
1717
<p>HTML5 is the latest version of HTML and XHTML. The
18-
<a href="//html.spec.whatwg.org/multipage/">HTML Standard</a> defines a
19-
single language that can be written in HTML and XML. It attempts to
20-
solve issues found in previous iterations of HTML and addresses the
21-
needs of Web Applications, an area previously not adequately covered by
18+
<a href="https://html.spec.whatwg.org/multipage/">HTML Standard</a> defines a
19+
single language that can be written in HTML and XML. It attempts to
20+
solve issues found in previous iterations of HTML and addresses the
21+
needs of Web Applications, an area previously not adequately covered by
2222
HTML.</p>
2323
<p>Here are several resources worth exploring:</p>
2424
<ul>
25-
<li><a href="//html-differences.whatwg.org/">Differences from
26-
HTML4</a></li>
27-
<li><a href="//wiki.whatwg.org/wiki/FAQ">WHATWG FAQ</a></li>
28-
<li><a href="//platform.html5.org/">The Web Platform</a></li>
29-
<li><a href="//html5.validator.nu/">HTML5 validator</a></li>
30-
<li><a href="//github.com/whatwg/html">HTML Standard on GitHub</a></li>
25+
<li><a href="https://whatwg.org/faq">WHATWG FAQ</a></li>
26+
<li><a href="https://platform.html5.org/">The Web Platform</a></li>
27+
<li><a href="https://checker.html5.org/">Nu Html Checker</a></li>
28+
<li><a href="https://github.com/whatwg/html">HTML Standard on GitHub</a></li>
3129
</ul>
3230
</body>
3331
</html>

test/redirects.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ const HTTPS_TESTS = [
6868
['https://forums.whatwg.org/', 301, 'https://forums.whatwg.org/bb3/'],
6969
['https://forums.whatwg.org/bb3/viewtopic.php?f=3&p=8538&sid=1cb9e434c59258d940d476648b0301df', 301, 'https://forums.whatwg.org/bb3/viewtopic.php?f=3&p=8538'],
7070
['https://help.whatwg.org/', 301, 'https://html.spec.whatwg.org/dev/', 'drop'],
71+
['https://html-differences.whatwg.org/', 301, 'https://html.spec.whatwg.org/dev/', 'drop'],
7172
['https://html.spec.whatwg.org/C', 301, 'https://html.spec.whatwg.org/multipage/', 'keep'],
7273
['https://html.spec.whatwg.org/complete', 301, 'https://html.spec.whatwg.org/', 'keep'],
7374
['https://html.spec.whatwg.org/complete.html', 301, 'https://html.spec.whatwg.org/'],

0 commit comments

Comments
 (0)