title: htaccess - remove "index.php" from URL and redirect
body: <p>At my website, I was using URL addresses such as</p>
  
  <pre><code>http://me.example.com/index.php?p=home
  </code></pre>
  
  <p>Then I decided to use</p>
  
  <pre><code>http://me.example.com/?p=home
  </code></pre>
  
  <p>It all worked automatically without any ".htaccess" file. But addresses which contain "index.php" also still work. Some sites have links to my site in "old" format. I want people to stop using this "old" format and redirect them to the "new" format URL, whenever they use "old" format. All I want to do is to remove "index.php" from URL and also change this URL in visitor's browser.</p>