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: QUERY_STRING redirects Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
sealmode
Newbie
Newbie


Joined: 20 May 2010
Location: United States
Online Status: Offline
Posts: 9
Posted: 18 February 2011 at 1:00pm | IP Logged Quote sealmode

I need help redirecting some 404's from Google Webmaster Tools.  Here is an example URL which needs to be redirected

/blog/page/4/?s

I currently have:

RewriteCond %{QUERY_STRING} ^s
RewriteRule /blog/page/4/ /blog/ [I,O,RP,U,L]

This currently redirects /blog/page/4/?s to /blog/ which I do want, but also redirects /blog/page/4/ without the query_string which is a legitimate page.  Any help is greatly appreciated.
Back to Top View sealmode's Profile Search for other posts by sealmode
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 21 February 2011 at 2:44am | IP Logged Quote Anton

Could you please clarify the version of ISAPI_Rewrite you are using - is it 2 or 3.
'Cause your syntax is correct neither for one not for another version.

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

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