<div class="content">
<p>There'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't there. The only real harm is a really huge log
file and a lot of 404's generated.<br></p>
<p>I've tried a lot of the examples I found on Drupal.org, but
none seem to really work. I have a feeling it's the address Google is
using trying to get at. I'm not sure .htaccess can handle the '?q=' part
of the line.</p>
<p><a href="http://www.example.com/index.php?q=node/1234&gccid=5810652&gcp=18" title="http://www.example.com/index.php?q=node/1234&gccid=5810652&gcp=18" rel="nofollow">http://www.example.com/index.php?q=node/1234&gccid=5810652&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'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'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't seen one yet that does that. </p>
<p>Thanks for your help,<br>
Skip</p>
</div>