title: redirect to 404 error page which urls contain "page.php?"
body: <p>I want to redirect <a href="http://www.yourdomain.com/page.php?" rel="nofollow">http://www.yourdomain.com/page.php?</a> or <a href="http://www.yourdomain.com/page.php?var=val" rel="nofollow">http://www.yourdomain.com/page.php?var=val</a> to 404 error page using <code>.htaccess</code>.</p>
  
  <p>I have used this code</p>
  
  <pre><code>RewriteRule ^page\.php\?.*$ /404.shtml [R=404,L]
  </code></pre>
  
  <p>But it is not working.</p>