WordPress subfolders htaccess bypassing the root htaccess RewriteRule

After a lot searching, I have gotten the solution of this problem from the web.

A similar problem is discussed on this URL. And solution is given on 7th page of this URL.