title: page redirect issue in sub folder
body: <p>i have installed wordpress in a sub-folder but whenever i click on a page link in sub-folder then it redirects to a page that is in root folder.
  the root folder also have a wordpress site. </p>
  
  <p><strong>what i want</strong><br>
  to stop redirect to root folder and access the page in sub-folder.</p>
  
  <p><strong>Note</strong>
  whenever i hover on the menu(page) link it show the real page URL but when i click then it redirects me to root folder that has a same page.</p>
  
  <p>i know that there is some issue in the .htaccess file but unable to find exact solution as i have searched <a href="https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory" rel="nofollow noreferrer">this</a> <a href="https://wpscholar.com/blog/simple-redirects-with-htaccess/" rel="nofollow noreferrer">this</a> and <a href="http://www.wpbeginner.com/beginners-guide/beginners-guide-to-creating-redirects-in-wordpress/" rel="nofollow noreferrer">this</a> and a lot more  but found nothing. i am totaly stuck with this issue.   </p>