This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions (Forum Locked Forum Locked)
 Helicon Tech : Common Questions
Subject Topic: Redirect with Parameters in URL
Message |

Joined: 29 March 2010
Posts: 1
Posted: 29 March 2010 at 12:41pm


I am using ISAPI Rewrite version 3.1 and I need to redirect a page that contains a parameter to one that doesn't contain a parameter. I'm trying to redirect page LoanProducts.aspx?tab=Parents  to page Parents.aspx. My command in the rewrite is

RewriteRule LoanProducts.aspx?tab=Parents Parents.aspx [I,RP]


When I run this, the URL that it goes to is



How do I get this to remove the parameters? Thanks for your help!



Back to Top
Admin Group

Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 30 March 2010 at 2:31am

Your rule should be:

RewriteBase /
RewriteCond %{QUERY_STRING} ^tab=Parents$ [NC]
RewriteRule ^LoanProducts\.aspx$ Parents.aspx? [NC,R=301,L]

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