Msg#: 4668521 posted 8:37 am on May 5, 2014 (gmt 0)
Oh, come on. You know we don't write your code for you. ;) What have you tried so far?
It may or may not be necessary to know what these newly indexed URLs represent. Are they duplicate URLs for pages that already exist under some other name? Or pages that were there all along but weren't supposed to be indexed? What do you want to happen to humans who blunder across these URLs?
It is possible to return a 404 on purpose, but it's rarely necessary or appropriate. The question here is whether you want a 410 ("it's gone") or a 301 ("go round the back"). Or whether you want to take an entirely different route, probably involving liberal use of "rel='canonical'".
:: Hm, 586 posts, how much slack do we cut him? ::
Msg#: 4668521 posted 4:19 pm on May 5, 2014 (gmt 0)
That rule is much too broadly configured. I'm guessing the filenames of your images also contain numerals. Express the rule in a way that constrains it to pages. (Extensionless, .php or .html or whatever it is you use.) You don't need a Condition; this can go in the body of the rule.
If none of your filepaths contain literal periods, and you're using extensionless URLs, the pattern can be expressed simply as
No opening anchor, no captures. Oh, and [F,L] isn't an error but it isn't needed: [F] implies [L].