Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: Url Change , only on word Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
juanda
Newbie
Newbie


Joined: 17 June 2006
Location: Samoa
Online Status: Offline
Posts: 2
Posted: 08 August 2008 at 1:47pm | IP Logged Quote juanda

 

We have a hotel reservation site, and we have upgraded the provider,
the developers have change one word in url, before the url contain the prov HB2 and now HBDS,
we would like to make a 301 redirect from the HBE2 to HBDS url

Before
http://www.site.com/hotel/default.aspx?CodMant=157&prov=HBE2
and should 301 redirect to
http://www.site.com/hotel/default.aspx?CodMant=157&prov=HBDS

thanks in advance

John Daniel

 

Back to Top View juanda's Profile Search for other posts by juanda
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 09 August 2008 at 11:54am | IP Logged Quote Lexey

RewriteCond Host: (.*)
RewriteRule ([^?]+\?(?:.*&)?prov=)HB2(&.*)? http\://$1$2HBDS$3 [I,RP]
Back to Top View Lexey's Profile Search for other posts by Lexey
 

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