title: Using .htaccess to virtually rename the file extension of a file
body: <p>I don't know where I went wrong but I'm generally trying to write a .htaccess file that will redirect all files which end in .tsv to .txt instead. (I don't know why but my extension is insisting on renaming the file back. Which is fine, since it's required by another fetch program.)</p>
  
  <p>Here's my file </p>
  
  <pre><code>Options +FollowSymlinks
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME}\.txt -f
  RewriteRule ^(.*)$ $1.tsv
  </code></pre>
  
  <p>Now the files reside in a directory <code>/googlebase/</code> and this is the ONLY directory where I need this kind of rename to happen, so I know I don't put this code into the .htaccess file in the <code>/</code> directory but for some reason, my browser is ignoring the .htaccess file in the <code>/googlebase/</code> directory and insist on redirecting to a 404 page. </p>
  
  <p>Can anyone help? I've seen code like this work when renaming .php to .html and the link so I figured it should work regardless. The file that ends in .tsv exists but I want it so that any who tries to reach a .tsv file is taken to the .txt file to download instead.</p>