title: removing url parameters from one url using .htaccess codes
body: <p>I tried lot of combinations using available examples (.htaccess directives), but I couldn't able to achieve what I want. The problem is...</p>
  
  <p>My actual URL is 
  <code>http://localhost/smon2/custsms/index.php?p_mob=9886419001</code></p>
  
  <p>What I want is
  <code>http://localhost/smon2/custsms/</code></p>
  
  <p>Please help me in wrinting .htaccess code lines.
  Thanks</p>
  
  <p>I tried with few of the items below...</p>
  
  <pre><code>RewriteEngine On  
  RewriteCond %{QUERY_STRING} ^p_mob=1$
  RewriteRule (.*) $1? [R=permanent]
  
  RewriteEngine On  
  RewriteCond %{QUERY_STRING} "p_mob=" [NC]
  RewriteRule (.*)  /$1? [R=301,L]
  
  RewriteEngine On  
  RewriteRule ^/custsms/%{QUERY_STRING}/?$  http : //localhost/smon2/custsms/ [NC,L]
  </code></pre>
  
  <p>Nothing was working. please help. </p>