How Do I Exclude A Folder From WordPress Permalinks?
The standard WordPress rewrite rules for permalinks might not work in some cases. For examples, when you have defined other settings in the .htaccess files present in the subfolders.
In order to exclude the subfolder from the WordPress rewrite rules, you will have to edit the .htaccess file and change the line mentioned below:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
To
RewriteRule ./ /index.php [L]