Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
add FAQ redirect rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ys2843 committed Jun 16, 2020
1 parent 8039377 commit 56a346d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/static_site/src/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_FILENAME}/index.html -f
RewriteRule ^(.*) $1/index.html [NC,L]

# Redirect FAQ TODO: temporary fix for Github issue #18547
RewriteRule ^versions/master/faq/(.*)$ /api/faq/$1 [R,NC,L]

# 404
ErrorDocument 404 /404.html

Expand Down

0 comments on commit 56a346d

Please sign in to comment.