Merge pull request #64 from ys2843/patch-1

test redirect rules - set v1.6 as default website
diff --git a/.htaccess b/.htaccess
index 43efb81..99a7820 100644
--- a/.htaccess
+++ b/.htaccess
@@ -3,6 +3,11 @@
 RewriteEngine on
 RewriteOptions AllowNoSlash
 
+# Set default website version to current stable (v1.6) TODO delete test code and uncomment origin code 
+RewriteCond %{REQUEST_URI} !^/versions/
+RewriteCond %{HTTP_REFERER} !mxnet-beta.staged.apache.org
+Rewriterule ^(.*)$ /versions/1.6/$1 [r=307,L]
+
 # Show file instead of folder for example /api/docs/tutorials.html
 # instead of /api/docs/tutorials/
 RewriteCond %{REQUEST_FILENAME} -d