title: Is there any way to stop a GET method form from sending empty variables?
body: <p>I'm using the following form as part of an Advanced Search page on my WordPress install.</p>
  
  <pre><code>&lt;form action="/advanced-search/" method="get"&gt;
  </code></pre>
  
  <p>The form is working correctly, but producing URLs like:</p>
  
  <p><code>/advanced-search/page/3/?act=s&amp;f=cichlidae&amp;g&amp;s&amp;c&amp;r&amp;tmin&amp;tmax&amp;hmin&amp;hmax&amp;pHmin&amp;pHmax&amp;cmin&amp;cmax&amp;sF&amp;sM&amp;aL&amp;aD&amp;aH</code></p>
  
  <p>Is there any way to stop the form from sending those empty variables? In the above example only <code>f</code> was searched for (value <code>cichlidae</code>). As such I'd prefer it to produce a URL like this:</p>
  
  <p><code>/advanced-search/?act=s&amp;f=cichlidae</code> (plus the <code>/page/3/</code> if necessary).</p>
  
  <p>I can't use <code>$_POST</code> because I can't get the WordPress <code>paged</code> variable to work with <code>$_POST</code> values.</p>
  
  <p>Thanks in advance,</p>