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

Commit

Permalink
enable first time redirect on all master website pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ys2843 committed Jul 19, 2020
1 parent 5cd97c2 commit 049b0aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/static_site/src/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ RewriteOptions AllowNoSlash

# Set default website version to current stable (v1.6) TODO delete test code and uncomment origin code
RewriteCond %{REQUEST_URI} ^/versions/1.1.0/community/contribute.html$
# RewriteCond %{REQUEST_URI} ^/$
# RewriteCond %{REQUEST_URI} !^/versions/
RewriteCond %{HTTP_REFERER} !mxnet.apache.org
RewriteCond %{HTTP_REFERER} !mxnet.incubator.apache.org
Rewriterule ^(.*)$ /versions/1.6/community/contribute.html [r=307,L]
# Rewriterule ^(.*)$ /versions/1.6/ [r=307,L]
# Rewriterule ^(.*)$ /versions/1.6/$1 [r=307,L]

# TODO temporary fix for issue #18604
Redirect 302 /api/r/docs/api/R-package/build/mxnet-r-reference-manual.pdf https://mxnet-public.s3.us-east-2.amazonaws.com/docs/v1.x/mxnet-r-reference-manual.pdf
Expand Down

0 comments on commit 049b0aa

Please sign in to comment.