This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Redirect blocking google search results Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Not2Bright
Newbie
Newbie


Joined: 12 August 2011
Online Status: Offline
Posts: 3
Posted: 13 August 2011 at 6:40pm | IP Logged Quote Not2Bright

Hi Again!

Anyone have any idea why the following would block google search results links?  I thought that it should just pass through if google was not one of the key words, but it is blocking search results links and returning a 404. 

RewriteCond Referer: .*(?:keywords|go|here).*
RewriteRule (.*) $1 [I,F]

Back to Top View Not2Bright's Profile Search for other posts by Not2Bright
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 15 August 2011 at 7:19am | IP Logged Quote Anton

I've answered you here http://www.helicontech.com/forum/18051-REDIRECT_to_404-1.html

Unfortunately it's not quite possible to return 403 Forbidden in ISAPI_Rewrite2 (although it's possible in v3).

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
Not2Bright
Newbie
Newbie


Joined: 12 August 2011
Online Status: Offline
Posts: 3
Posted: 15 August 2011 at 11:31am | IP Logged Quote Not2Bright

Hi Anton,

Thanks for getting back to me.  As I mentioned in the later post -

RewriteCond Referer: .*(?:keywords|go|here).*
RewriteRule (.*) $1 [I,F]

The problem is the above code blocks google search link results as well.  I’m not sure if it is because one of the words, such as “keywords” may appear in the google search string or what, but as I soon as I remove the rule, the search link works again.

 

Are you saying that changing the RewriteRule to

RewriteRule (.*) /custom404.asp [I,L]

will correct the google problem?

Back to Top View Not2Bright's Profile Search for other posts by Not2Bright
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum