title: Rewrite Rule in .htaccess file for subdomain
body: <p>I have a subdomain named </p>
  
  <pre><code>http://career.example.com
  </code></pre>
  
  <p>My URL Look Like</p>
  
  <pre><code>http://career.example.com/details.php?jid=17
  </code></pre>
  
  <p>Now I wan to show my URL look Like</p>
  
  <pre><code>http://career.example.com/details
  </code></pre>
  
  <p>I use this code in my .htaccess but not work</p>
  
  <pre><code>RewriteEngine on
  
  RewriteCond %{HTTP_HOST} ^career\.example\.com  [NC]
  RewriteRule ^(.*) http://example.com/$1 [L,R=301]
  RewriteRule    ^details/([0-9]+)/?$    details.php?jid=$1    [NC,L]
  </code></pre>