title: htaccess Redirect One File to Another
body: <p>I've read <a href="https://stackoverflow.com/questions/12226168/htaccess-rewrite-from-one-file-to-another">this</a> and this seems too long for my request.</p>
  
  <p>And tried <code>Redirect /index.php /index2.php</code> but it didn't work (Internal Server error)</p>
  
  <p>What I want is to redirect some of my php files to index. For example, I've my index file as</p>
  
  <p>header.php</p>
  
  <p>content.php</p>
  
  <p>footer.php</p>
  
  <p>and I want to redirect direct access to this files to index.php. Is it possible with htaccess or any other way?</p>
  
  <p>mysite.com/index.php OK
  mysite.com/header.php redirect to 404 or index or something else.</p>