Forum Moderators: phranque

Message Too Old, No Replies

My specific RewriteRule and Google

         

dgordon2

3:21 am on Feb 5, 2007 (gmt 0)

10+ Year Member



In order to fix the problem I had below I used the following code added to my httpd.conf file:

RewriteEngine on
RewriteLog /var/log/httpd/rewrite.log
RewriteRule /cgi-bin(.*) / [R=301,NE]

Will the above code cause any adverse affects to my rankings in Google in any way?

Is there better code than what I have above? I am still not very good at this so I might be missing something important.

Problem:

Lots of Nonexistent Links like this one:
http://www.example.com/cgi-bin/HFAstore.pl?user_action=detail&catalo
gno=CF-012

Need the link above redirected to:
http://www.example.com/

Thanks!

William