title: Change URL display but stay on the site
body: <p>I know this has already been asked but I never found an answer that worked for me. I tried understanding the <code>mod_rewrite</code> myself but I always got stuck. I searched a lot online and I've read the Apache documentation, Stackoverflow posts and a few tutorials (addedbytes/ smashingmagazine/ selfhtml/ and so on...).</p>
  
  <p>Every URL the user sees looks like this at the moment: <code>www.example.com/text/show/1</code> The number at the end varies, because the texts are numbered by the CMS. I would like to show the user an URL like the following: <code>www.example.com/home</code> while he visits <code>www.example.com/text/show/1</code>. Of course this should be possible on other sites as well. (Hint: The pages aren't numbered continously.)</p>
  
  <p>I want to rewrite the URL the user visits, using the .htaccess. The user should stay on the same page but he should see a nicer URL. I don't have any file extensions, because I'm using a CMS from a coworker that works without them.</p>
  
  <p>This is my .htaccess:</p>
  
  <pre><code># Enable rewriting
  RewriteEngine On
  
  # Redirect non-www to www
  RewriteCond %{HTTP_HOST} ^example.com
  RewriteRule (.*) http://www.example.com/$1 [R=301,L]
  
  # Redirect old PHP-pages to new pages
  Redirect /fancy.php http://www.example.com/text/show/6
  Redirect /foobar.php http://www.example.com/text/show/12
  # Here are a few more redirects
  
  # URL rewriting
  RewriteRule ^home/?$ text/show/1 [NC,L]
  
  # Skip the bli and bla directories
  RewriteRule ^(bli|bla)($|/) - [L]
  
  # Skip existing files and directories
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  # Rewrite the URL
  RewriteRule ^(.*)$ index.php [QSA,L]
  </code></pre>
  
  <p>I need the redirects because some pages of our old version of the websites where we used no CMS are still available online. The last parts (After <code>Skip the bli...</code>) are given from the CMS so I can't change them. I enabled the <code>mod_rewrite</code> on the apache so this should be the problem. I also reloaded and/ or restarted the apache after my changes.</p>
  
  <p>Everything else works well but the <code>RewriteRule ^home/?$ text/show/1 [NC,L]</code> doesn't. Can somebody please tell me how I can fix this?</p>
  
  <p>PS: I'm testing this on a local domain so I don't make any mistakes online.</p>