<div class="content">
    <p>There&#39;s a node (page) that I deleted from
my site. I have attempted to remove it from Google, but they keep
scanning for it. They do this for about 3 hours before  giving up and
believe the node isn&#39;t there. The only real harm is a really huge log
file and a lot of 404&#39;s generated.<br></p>
<p>I&#39;ve tried a lot of the examples I found on Drupal.org, but
none seem to really work. I have a feeling it&#39;s the address Google is
using trying to get at. I&#39;m not sure .htaccess can handle the &#39;?q=&#39; part
of the line.</p>
<p><a href="http://www.example.com/index.php?q=node/1234&amp;gccid=5810652&amp;gcp=18" title="http://www.example.com/index.php?q=node/1234&amp;gccid=5810652&amp;gcp=18" rel="nofollow">http://www.example.com/index.php?q=node/1234&amp;gccid=5810652&amp;gcp=18</a></p>


<p>The site is on latest 5.19 and uses clean urls. I have no idea where
they got their address from but it is the correct node number that used
to exist but it was never addressed that way, always with a clean url.</p>
<p>What I&#39;ve tried in .htaccess:</p>
<p>RedirectPermanent index.php?q=node/1234 <a href="http://www.example.com/newpage" title="http://www.example.com/newpage" rel="nofollow">http://www.example.com/newpage</a></p>
<p>Also: </p>
<p>  RewriteBase /<br>
  RewriteRule index.php?q=node/1234 /newpage [R=301,L]</p>
<p>(yes, I positioned both BEFORE the clean rewrite rules)</p>
<p>But none have any effect on the redirect and all these get sent to the 404 page.</p>
<p>I&#39;m out of ideas on this. Anyone else have ideas how to fix this? Is
there a way (or module) that might let me redirect based on a node
number? I haven&#39;t seen one yet that does that. </p>
<p>Thanks for your help,<br>
Skip</p>
  </div>