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: 301 redirect many pages old to new site Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
or-tec
Newbie
Newbie


Joined: 12 April 2010
Location: Israel
Online Status: Offline
Posts: 3
Posted: 02 February 2011 at 6:02pm | IP Logged Quote or-tec

Hi I'm trying to use ISAPI Rewrite 2 to redirect many different pages from my old website to may new website.
Sites are on different machines so on IIS 6.

For example:

http://www.site.com/aboutus.asp

should now redirect to

http://www2.site.com/aboutus.aspx

I have many different pages (over 50...) and some includes variable such as:
http://www.site.com/it.asp?itemID=20&desc=FFtext=

that should now be

http://www2.site.com/InfoTrainging.aspx

Can I have a basic rule which put 1 url on one side and the other url on the other?

10x!
Back to Top View or-tec's Profile Search for other posts by or-tec
 
Anton
Admin Group
Admin Group


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

Here're the rules for your two examples:

[ISAPI_Rewrite]
RewriteRule /aboutus\.asp http\://www2.site.com/aboutus.aspx [I,RP]

RewriteRule /it\.asp\?itemID=20&desc=FFtext= http\://www2.site.com/InfoTrainging.aspx [I,RP]

__________________
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