title: htaccess rewrite rule for a pretty URL
body: <p>I need to turn a query string like this:</p>
  
  <p><a href="http://localhost/view.php?id=12345" rel="nofollow">http://localhost/view.php?id=12345</a></p>
  
  <p>Into this:</p>
  
  <p><a href="http://localhost/12345" rel="nofollow">http://localhost/12345</a></p>
  
  <p>But, I also plan on having a string on the end of the URL for search engines to benifit from, like so:</p>
  
  <p><a href="http://localhost/12345/NameOfTheSkin" rel="nofollow">http://localhost/12345/NameOfTheSkin</a></p>
  
  <p>Kind of like how Wowhead do their URL's:</p>
  
  <pre><code>http://www.wowhead.com/item=49623/shadowmourne
  </code></pre>
  
  <p>Notice how you can change the string "shadowmourne" into anything and it'll still point to the item id <code>49623</code>.</p>
  
  <p>Basically, I need the string on the end to be ignored.</p>
  
  <p>Any help is appreciated, cheers. :)</p>