I'm trying to redirect any requests for thisfile.htm. The problem I have is it may be requested from several different locations since it's been moved over the years and some search engines still look for the old locations, thus throwing error log errors.
What I have is:
RewriteRule ^thisfile.htm$ http://example.com/level1/thisfile.htm [R=301]
That works fine when the file is requested from root (http://example.com/thisfile.htm). But if one of the old paths is requested (http://example.com/level1/level2/level3/thisfile.htm) it doesn't work.
How can I make requests for this file redirect no matter what path is used in the request?