Skip to content

Commit

Permalink
add FAQ redirect rules (apache#18552)
Browse files Browse the repository at this point in the history
Co-authored-by: Yang Shi <[email protected]>
  • Loading branch information
2 people authored and AntiZpvoh committed Jul 6, 2020
1 parent 991df2b commit 211c365
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 211c365

Please sign in to comment.