title: How to use htaccess for wordpress on root and codeigniter in subfolder
body: <p>I have following directory structure</p>
  
  <p>-testmywork (ROOT)<br>
  ---admin <i>(CONTAIN CODEIGNITER FRAMEWORK)</i><br>
  ---cgi-bin<br>
  ---wp <i>(CONTAIN WORDPRESS)</i><br>
  ---htaccess</p>
  
  <p>Now here, my admin folder contain codeigniter framework and my root has wp folder. when my root is accessed, it goes to wp folder and when i access testmywork/admin, it opens the login screen but once i put admin username and password, it goes back to my main root and shows page not found error but instead this it should open my codeigniter framwork i.e it should go to admin panel's dashboard after successful login.</p>
  
  <p>What should i do? Should i change my htaccess code? If yes, then how to do that?</p>