mod_rewrite not allowing a-z
<p>So here is my question..</p>

<p>This is the url I have: 
/category.php?cat=8</p>

<p>this is the url im trying to achieve: 
/parties-events/kitchen/</p>

<p>Within the database the category has a  id, <strong>main</strong>, <strong>sub</strong>, <strong>main_slug</strong> and <strong>sub_slug</strong></p>

<p>This: /<strong>main_slug</strong>/<strong>sub_slug</strong>/</p>

<p>I had this </p>

<pre><code>RewriteRule ^([a-z]+)\/?$ $1.php [NC]
RewriteRule ^([a-z]+)\/([0-9]+)\/?$ category.php?param=$1&amp;param2=$2 [NC]
</code></pre>

<p>Which outputs and works fine: /category/8/</p>

<p>BUT.. It only works with numbers, nothing else. I get a not found page if I use and letters.</p>

<p>But I'm lost as to the htaccess regex to just use the main and sub slugs and not only numbers. </p>

<p>Any help would be appreciated.</p>