Htaccess mod_rewrite blocking track

My Piwik has been working GREAT for several years, but very recently I modified my htaccess to redirect inquiries to a “test” subdirectory excepting certain files & folders:
Options -Indexes +SymLinksIfOwnerMatch
RewriteEngine on
RewriteBase /
RewriteCond $1 !^parked.com/
RewriteCond $1 !^piwik/
RewriteCond $1 !^wordpress/
RewriteCond $1 !^marker.htm
RewriteCond %{REQUEST_URI} !^/webtrees/
RewriteRule ^(.*)$ /webtrees/$1 [L]

However, now Piwik has dropped from 80 visitors/day to zero. I have tried changing the website from www.primary.com to www.primary.com/webtrees to “all” but Piwik cannot track any visitors. Can you suggest a solution? Thanks,