ys2843 edited a comment on pull request #18738: URL: https://github.com/apache/incubator-mxnet/pull/18738#issuecomment-660381271
> Not sure, but this didn't work: http://ec2-34-219-134-42.us-west-2.compute.amazonaws.com/community/contribute.html > Shouldn't the dropdown read 1.6 if the redirect worked? > > You can use the beta site for testing redirects. It's perfect for this kind of testing. > https://github.com/apache/incubator-mxnet-site/tree/beta-site I will add more clarification about this PR. The only working redirect in this PR for testing is described below Start: http://ec2-34-219-134-42.us-west-2.compute.amazonaws.com/versions/1.1.0/community/contribute.html To: http://ec2-34-219-134-42.us-west-2.compute.amazonaws.com/versions/1.6/community/contribute.html The redirect only works when user enter `/versions/1.1.0/community/contribute.html` from outside of mxnet website. It could be from a google search result, or type this url into the browser directly. ( check HTTP `referer` is "apache.mxnet.org" or not) And to prevent redirect looping, if user goes to `/versions/1.1.0` => top nav bar => community => contribute, this also goes to contribution page but redirect won't be triggered because user is coming from mxnet website. It looks like this beta git repo is too large to clone... ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org