.htaccess Forward to a page except some files or directories

This is an example I have used with success to programme a web domain to forward all traffic to another page, just except some files or directories, that I choose.

In my case they had an administrator page at the old domain they wished to keep instead of moving fragile data.

So here it is:

#Home: Exclude the home Page
#RewriteCond %{REQUEST_URI} !^/$ [OR]

#News: exclude anything that starts with /..., /... etc
RewriteCond %{REQUEST_URI} !^/(test|forersiden|forer|forer.php|checklogin.php|connect.php|session.php|ledersiden.php|images/lock.png|images/board2.png|images/lederside.png) [NC]

RewriteRule (.*) http://your-page.com/$1 [R=301,L]