title: Rewrite URLs in htaccess for multiple pages
body: <p>I need to redirect urls from two different pages to readable URLS.
  my .htaccess looks like this</p>
  
  <pre><code>Options +FollowSymLinks -MultiViews -Indexes
  RewriteEngine On
  RewriteRule ^([a-zA-Z0-9-/]+)$ blog-detail.php?url=$1
  RewriteRule ^([a-zA-Z0-9-/]+)/$ blog-detail.php?url=$1
  RewriteRule ^([a-zA-Z0-9]+)/([a-zA-Z0-9]+)$ page.php?pid=$1
  RewriteRule ^([a-zA-Z0-9]+)/([a-zA-Z0-9]+)/$ page.php?pid=$1 
  </code></pre>
  
  <p>The first urls using the blog-detail.php work fine. My URLS can be like mysite.com/latest-news-story</p>
  
  <p>However, the second with page.php does not work unless I remove the blog-detail rewrite rules. How can I have both?</p>