Skip to content

Commit b8f14bf

Browse files
authored
De-404 /type/int* docs
So URLs in form /type/$some-type work for native int types
1 parent 67bc4c3 commit b8f14bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

html/.htaccess

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ RewriteRule ^(/?type/.*/[^/]*?)\$COLON([^/\$COLON]*)$ $1:$2 [R=30
2121

2222
RewriteRule ^(/?routine/.*/[^/]*?)([^/]*?%5E[^/]*)$ $1\$CIRCUMFLEX_ACCENT$2 [N]
2323
RewriteRule ^(/?routine/.*/[^/]*?)%5E([^/%5E]*)$ $1\$CIRCUMFLEX_ACCENT$2 [R=301]
24+
RewriteRule ^type/int(8|16|32|64)?(.html)?$ https://docs.perl6.org/type/nativeInt [R=301]
2425

2526
##
2627

@@ -31,6 +32,7 @@ Redirect 301 /examples http://examples.perl6.org/
3132
Redirect 301 /examples.html http://examples.perl6.org/
3233
Redirect 301 /webchat https://webchat.freenode.net/?channels=#perl6
3334
Redirect 301 /webchat.html https://webchat.freenode.net/?channels=#perl6
35+
3436
ErrorDocument 404 /404.html
3537

3638
<IfModule mod_deflate.c>

0 commit comments

Comments
 (0)