I am attempting to redirect any URLs that attempt to access a directory that doesn't exist, however I am getting a 404 when trying the following:

RewriteRule ^picco/(.*)$ /rangers/$1 [L,R=301]
There is no directory called picco (it used to exist) however, when anyone tries to access a page picco/index.php for example I want to redirect to rangers/index.php.

Is this possible?