title: mod_rewrite in .htaccess
body: <p>Hey all, how can I reduce this:</p>
  
  <pre><code>www.example.com/index.php?page=viewblog&amp;category=awesome
  </code></pre>
  
  <p>down to this:</p>
  
  <pre><code>www.example.com/blog/awesome
  </code></pre>
  
  <p>The above lists all of the blog posts in that category, but I also want scope for adding the title of the post on the end of it as well, like this:</p>
  
  <pre><code>www.example.com/index.php?page=viewblog&amp;category=awesome&amp;post=why-trees-are-green
  </code></pre>
  
  <p>And this needs to shorten down to:</p>
  
  <pre><code>www.example.com/blog/awesome/why-trees-are-green
  </code></pre>
  
  <p>Any ideas, anyone? Thanks in advance :)</p>