Isolating WordPress to a subfolder

I’m trying to isolate a wordpress installation on our site to a specific subfolder. I created a folder on our root site named _wp and placed all the wordpress files in there. I added the following rewrite rules to the htaccess in our root folder to allow permalinks within the wordpress installation to work properly.

# WordPress
RewriteBase /_wp/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /_wp/index.php [L]

This allowed permalinks within the subfolder to work, but it is also allowing requests for files outside the _wp folder to forward to the wordpress site. For example, the following page on my wordpress site:

http://www.mysite.com/_wp/mypage

can also be accessed by the following URL:

http://www.mysite.com/mypage

I don’t want this to happen. I want to isolate a

Solutions Collecting From Web of "Isolating WordPress to a subfolder"