title: Having issues with Rewrite Rules
body: <p>How do I make htaccess include the post name when rewriting the url? Currently I am using a code-canyon purchased platform which does not come with SEO Friendly urls how ever the product is amazing otherwise. </p>
  
  <p>Here is the code before any htaccess changes. </p>
  
  <pre><code>&lt;a href="'.$this-&gt;url.'/index.php?a=track&amp;id='.$row['id'].'" id="song-url'.$row['id'].'" target="_blank"&gt;'.$this-&gt;title.'&lt;/a&gt;
  </code></pre>
  
  <p>I am looking to get my tracks page "Which is the content page in this example" to display in the url something like <a href="http://www.example.com/tracks/song-name-here" rel="nofollow">http://www.example.com/tracks/song-name-here</a>
  but instead it displays something like this <a href="http://www.example.com/index.php?a=track&amp;id=" rel="nofollow">http://www.example.com/index.php?a=track&amp;id=</a> and the ID Does not even generate the post name it's just a random number. </p>
  
  <p>Here is my current rewrite rules for the url <a href="http://www.example.com/index.php?a=track&amp;id=" rel="nofollow">http://www.example.com/index.php?a=track&amp;id=</a></p>
  
  <pre><code>RewriteRule ^([^/]*)/([^/]*)\.html$ /index.php?a=$1&amp;id=$2 [L]
  </code></pre>
  
  <p>You can check out the product in which I have purchased over at <a href="http://codecanyon.net/item/phpsound-music-sharing-platform/9016117" rel="nofollow">http://codecanyon.net/item/phpsound-music-sharing-platform/9016117</a> if you would like more information to help me out. </p>