How to ignore folder in site root while accessing a URL

Ordinarily, requests for physical directories (and files) are not routed to WordPress. You could make an exception for this one folder (or URL) and specifically rewrite requests for /connect to index.php (the WordPress front-controller).

Try the following before the # BEGIN WordPress section:

# Override directory
RewriteRule ^connect index.php [L]