Options -Indexes
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /
RewriteCond %{HTTP_HOST} ^mysite.com [NC] ---------------------> Added by me
RewriteRule ^(.*)$
http://www.mysite.com/$1 [L,R=301,NC] --------> Added by me
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$ --------------- All these are already present on the htaccess file
RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
</IfModule>
The rule RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L] is creating the problem.