Renaming file extensions and keeping existing links working

Can somebody tell me how to use an .htaccess script so if I rename my files from .htm to .php all the links to the .htm files will still work. For example, I have a link to mysite.com/file.htm. I want to rename the page to .php and use Apache to keep the link working by directing the visitor to mysite.com/file.php.

 

 

 

 

Top