forked from whatwg/html
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.htaccess
50 lines (45 loc) · 2.6 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
AddDefaultCharset utf-8
AddCharset utf-8 .css .js .json
Redirect 301 /complete.html /
Redirect 301 /complete /
Redirect 301 /index /
Redirect 301 /C /multipage/
Redirect 301 /multipage/entities.json /entities.json
Redirect 301 /multipage/images/ /images/
Redirect 301 /multipage/link-fixup.js /link-fixup.js
ErrorDocument 404 /404.html
<Files print.pdf>
Header add Content-Disposition "inline; filename=html-standard.pdf"
</Files>
# Previously-generated filenames for /multipage/ that do not redirect via script:
Redirect 301 /multipage/embedded-content-0.html /multipage/embedded-content.html
Redirect 301 /multipage/scripting-1.html /multipage/scripting.html
Redirect 301 /multipage/tabular-data.html /multipage/tables.html
# Previously-generated filenames for /multipage/ that are better to end in a 404 and let redirect
# via script:
# * Redirect 301 /multipage/common-input-element-attributes.html /multipage/forms.html
# * Redirect 301 /multipage/dnd.html /multipage/interaction.html
# * Redirect 301 /multipage/editing.html /multipage/interaction.html
# * Redirect 301 /multipage/edits.html /multipage/semantics.html
# * Redirect 301 /multipage/history.html /multipage/browsers.html
# * Redirect 301 /multipage/links.html /multipage/semantics.html
# * Redirect 301 /multipage/named-character-references.html /multipage/syntax.html
# * Redirect 301 /multipage/offline.html /multipage/browsers.html
# * Redirect 301 /multipage/sections.html /multipage/semantics.html
# * Redirect 301 /multipage/states-of-the-type-attribute.html /multipage/forms.html
# * Redirect 301 /multipage/text-level-semantics.html /multipage/semantics.html
# * Redirect 301 /multipage/the-canvas-element.html /multipage/scripting.html
# * Redirect 301 /multipage/the-end.html /multipage/syntax.html
# * Redirect 301 /multipage/the-iframe-element.html /multipage/embedded-content.html
# * Redirect 301 /multipage/the-input-element.html /multipage/forms.html
# * Redirect 301 /multipage/the-map-element.html /multipage/embedded-content.html
# * Redirect 301 /multipage/the-video-element.html /multipage/embedded-content.html
# * Redirect 301 /multipage/the-xhtml-syntax.html /multipage/xhtml.html
# * Redirect 301 /multipage/tree-construction.html /multipage/syntax.html
# * Redirect 301 /multipage/video.html /multipage/embedded-content.html
# Intentionally deleted previously-generated filenames for /multipage/:
ErrorDocument 410 /multipage/section-sql.html
# Images converted to svg:
Redirect 301 /images/sample-email-1.png /images/sample-email-1.svg
Redirect 301 /images/sample-email-2.png /images/sample-email-2.svg
Redirect 301 /images/sample-url.png /images/sample-url.svg