title: Conflict with 3 different RewriteRules in .htaccess?
body: <p>I'm using the below in my .htaccess file. </p>
  
  <p>There 3 types of redirects:</p>
  
  <ol>
  <li>redirect to directory /admin/index.php</li>
  <li>redirect to specific .php files e.g. /about</li>
  <li>redirect to user profile page from /John</li>
  </ol>
  
  <p>All 3 work on my local environment, but on the server only 1 and 3 works.
  I'd really appreciate for some to tell me why file redirects of the type /about are not working for me.</p>
  
  <p>Many thanks.</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  
  Options -Multiviews
  Options +FollowSymLinks
  RewriteEngine On
  
  RewriteBase /
  
  RewriteRule ^admin$ /admin/index.php [QSA,L]
  RewriteRule ^about/?$ /about.php [QSA,NC,L]
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^([_A-Z0-9a-z-+\.]+)/?$ /public_profile.php?id=$1 [L]
  
  &lt;/IfModule&gt;
  
  ErrorDocument 404 /404.php
  </code></pre>