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 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Redirect blocking google search results
Author
Message |
Not2Bright
Newbie


Joined: 12 August 2011
Posts: 3
Posted: 13 August 2011 at 6:40pm

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
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 15 August 2011 at 7:19am

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
 
Not2Bright
Newbie


Joined: 12 August 2011
Posts: 3
Posted: 15 August 2011 at 11:31am

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
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
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