title: rewriting url to hide real page path
body: <p>I recently with the help of SO solved my htaccess rewriterule issue:</p>
  
  <p><a href="https://stackoverflow.com/q/14062575/1291428">Reuse subdomain in a rewrite rule</a></p>
  
  <p>The result is that when somebody enters</p>
  
  <pre><code>whatever.example.com/anypage
  </code></pre>
  
  <p>in the adress bar, the htaccess automatically redirects to</p>
  
  <pre><code>whatever.example.com/somepath/whatever/anypage
  </code></pre>
  
  <p>What I wish to do is to find a way to just show <code>whatever.example.com/anypage</code> in the adress bar with the content of <code>whatever.example.com/somepath/whatever/anypage</code> displayed.</p>
  
  <p>In the post I mentioned earlier, Jon Lin clearly mentions the following:</p>
  
  <blockquote>
    <p>redirects always change what's in the browser's URL address bar</p>
  </blockquote>
  
  <p>However I know some very frequent cases of url rewritting that would show in the adress bar let's say, for instance:</p>
  
  <pre><code>example.com/article-1-15
  </code></pre>
  
  <p>but actually showing the content of </p>
  
  <pre><code>example.com/somepath/somepage.php?article=1&amp;otherparam=15
  </code></pre>
  
  <p>How could this apply to my case? I really wish to have a tiny url but it seems I missed something.</p>