diff --git a/bigbluebutton-client/resources/prod/BigBlueButton.html b/bigbluebutton-client/resources/prod/BigBlueButton.html
index ef5304de6b66b4ec7f72a4baf2d8d49b350fbdc6..c2bdad7cbfbebe38dac37cd4513e8781934c6370 100755
--- a/bigbluebutton-client/resources/prod/BigBlueButton.html
+++ b/bigbluebutton-client/resources/prod/BigBlueButton.html
@@ -141,7 +141,7 @@
         // and reuse them to join via the HTML5 client
         enterRequest = $.ajax({
            dataType: 'json',
-           url: '/bigbluebutton/api/enter'
+           url: '/bigbluebutton/api/enter' + document.location.search
         });
 
         enterRequest.done(function(enterData) {
@@ -152,7 +152,7 @@
           if ((meetingId != null) && (userId != null) && (authToken != null)) {
             // redirect to the html5 client with the received info
             // format <IP>/html5client/<meetingId>/<userId>/<authToken>
-            document.location.pathname = "/html5client/"+meetingId+"/"+userId+"/"+authToken;
+            document.location.pathname = "/html5client/join/"+meetingId+"/"+userId+"/"+authToken;
           } else {
             // go back to the redirection page
             document.location.pathname = originalPath;