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: 301 redirect many pages old to new site
Author
Message |
or-tec
Newbie


Joined: 12 April 2010
Location: Israel
Posts: 3
Posted: 02 February 2011 at 6:02pm

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


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 04 February 2011 at 3:44am

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
 

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