I acquired a primary site using Wordpress that is set at the bottom from the domain.

I essentially wish to have a DEV version of the extremely same WordPress (utilizing a copy database) inside a subfolder, like /dev/

Problem I acquired is the fact that after i try being able to access the dev version, the primary WordPress at root appears capture the request (htaccess?) and provides a "not found" page.

Here's my htaccess at root:

# BEGIN WordPress
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On

# MultiLingual domain
RewriteCond %{HTTP_HOST} ^(www.)?domain-other-language\.com*    [OR]
RewriteCond %{HTTP_HOST} ^(www.)?domain-other-language2\.com*
RewriteRule (.*) http://www.main-domain.com/$1?lang=en [R=permanent,L]

# Alternate domain
RewriteCond %{HTTP_HOST} ^(www.)?other-domain\.com*
RewriteRule (.*) http://www.main-domain.com/$1 [R=permanent,L]

# this doesn't seem to work
RewriteRule ^dev/$ - [PT,L]

RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

Try

# BEGIN WordPress
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /

# MultiLingual domain
RewriteCond %{HTTP_HOST} ^(www.)?domain-other-language\.com*    [OR]
RewriteCond %{HTTP_HOST} ^(www.)?domain-other-language2\.com*
RewriteRule (.*) http://www.main-domain.com/$1?lang=en [R=permanent,L]

# Alternate domain
RewriteCond %{HTTP_HOST} ^(www.)?other-domain\.com*
RewriteRule (.*) http://www.main-domain.com/$1 [R=permanent,L]

RewriteCond %{REQUEST_URI} ^dev/
RewriteRule ^dev/.*$ - [PT]

RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ./ /index.php [L]
</IfModule>
# END WordPress