title: .htaccess rule conflicts help
body: <p>Hey guys, I'm trying to implement one of the answers I got to another question I asked on here a couple days ago.  You can find the original question here: <a href="https://stackoverflow.com/questions/1515639/modrewrite-clarification-question-only-for-dynamic-urls">Mod_rewrite clarification question. Only for dynamic urls?</a></p>
  <p>The most helpful answer and the one I'm modeling the implementation after is as follows:</p>
  <blockquote>
  <p>I'm guessing the answer meder gave is the one you're looking for but technically you can create a static map file to redirect a set of title strings to ids and it doesn't have to execute an external prg executable:</p>
  <pre><code>  RewriteMap static-title-to-id txt:/tmp/title_to_id.txt
    RewriteRule ^/health-and-fitness-tips/(.*)/ /health-and-fitness-tips/${static-title-to-id:$1}/ [L]
  </code></pre>
  <p>with the contents of the /tmp/title_to_id.txt file something like this:</p>
  <pre><code>  how-do-I-lose-10kg-in-12-weeks 999
    some-other-title 988
    and-another 983
  </code></pre>
  </blockquote>
  <p>Ok enough background.  My .htaccess file currently has the following in it:</p>
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  <p>Its a typical wordpress permalink customization.  However, when I try to add rules similar to those presented in the selected answer above, I get an internal server error.</p>
  <p>This is my .htaccess file when I get the internal server error:</p>
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  RewriteMap static-title-to-id txt:/tmp/title_to_id.txt
  RewriteRule ^/health-and-fitness-tips/(.*)/ /health-and-fitness-tips/${static-title-to-id:$1}/ [L]
  &lt;/IfModule&gt;
  </code></pre>
  <p>I'm hoping my problem is something simple, like a rule conflict. If you can see an error or can provide some direction here, it would be much appreciated.</p>