I have the following rewrite:
RewriteRule ^/blog/(.*)$ http://www.domain.co.uk [NC,L,R=301]
But I only want it to happen if it is not a image file (.jpg, .gif, .png) or a script file (.js). Does anyone know how to set this?
(It is a wordpress blog and I want to redirect all pages but keep the scripts and images active.)
Thanks