title: friendly timthumb URL with .htaccess
body: <p>I currently have the following htaccess </p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  
  # redirect all calls to index.php
  RewriteEngine On
  RewriteBase /
  RewriteCond %{HTTP_HOST} !^www.site.co.uk$ [NC]
  RewriteRule ^(.*)$ http://www.site.co.uk/$1 [L,R=301]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?url=$1 [PT,L]
  
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>which redirects non www links to www, and then after that for files and directories that don't exist it sends them to the index file. I have written a line that should create a friendly URL for using timthumb. Ive tried a few variations and tried it in a few places and still can't get it to work.</p>
  
  <blockquote>
    <p>RewriteRule ^thumb/([^/]<em>)/([^/]</em>)/([^/]*)$
    /_includes/thumb.php?src=images/case/$1&amp;w=$2&amp;h=$3 [L] </p>
    
    <p>or</p>
    
    <p>RewriteRule ^thumb/([^/]<em>)/([^/]</em>)/([^/]*)$
    /_includes/thumb.php?src=$1&amp;w=$2&amp;h=$3 [L]</p>
  </blockquote>
  
  <p>I would appriciate any suggestions, thankyou.</p>