title: Rewrite rule without changing URL in browser
body: <p>I want a rewrite rule to work in such a way that it loads the second URL but in browser address field it should show first URL. </p>
  
  <p>For example <code>domain.com/folder1/folder2</code> should load <code>domain.com/folder1</code> but not show <code>domain.com/folder/folder2</code> in browser.</p>
  
  <p>I tried this but it basically changes the URL in browser. </p>
  
  <pre><code>RewriteRule ^/folder1/folder2(.*)$ /folder1/$1 [L]
  </code></pre>
  
  <p>Tried googling but didn't get any help. Appreciate your help!</p>