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 (#18552)
Browse files Browse the repository at this point in the history
Co-authored-by: Yang Shi <[email protected]>
  • Loading branch information
Yang Shi and ys2843 authored Jun 17, 2020
1 parent 103d839 commit eddd27d
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 eddd27d

Please sign in to comment.