I migrated a site from a custom built php site (with file types in the urls) to a Drupal site recently. I want to preserve the old url (because they are indexed on search engines) and redirect to the respective new Drupal paths. I have placed this at the top of the .htaccess file:
Redirect 301 /path/oldfile.php /node/22
However, the redirect is not taking and the site shows a 404 at http://example.com/path/oldfile.php. If I place this in my .htaccess:
Redirect 301 / http://example.org/ then the site is redirected when I go to http://example.com/ so I know that the Apache mods are working.