send users to another page if landed on wrong one
<p>I rewrote my search url from this </p>

<pre><code>domain.com/search.php?q=query&amp;search=1
</code></pre>

<p>to </p>

<pre><code>domain.com/search.php?q=query&amp;select=all 
</code></pre>

<p>"query = search term". How can I send someone to the select=all page if they landed on search=1?
I have a ton of google links with search=1 and am trying to reroute users and at the same time get google to remove the parameter and index select=all.
This is what I am doing right now and it sends people to the homepage if they land on a search=1 and I don't like doing that.</p>

<pre><code>if (empty($_GET['select']))
header("Location: http://domain.com/");
</code></pre>

<p>Does anyone have any suggestions? thanks.</p>
