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 rewrite Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
lulaping
Newbie
Newbie


Joined: 30 May 2010
Online Status: Offline
Posts: 4
Posted: 30 May 2010 at 10:11pm | IP Logged Quote lulaping

I'm trying to do a straight 301 redirect with the ISAPI rewrite tool. Here is what I need to do:

301 Redirect http://www.site.com/news/to http://news.site.com/

Can someone please help me out?

Back to Top View lulaping's Profile Search for other posts by lulaping
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10489
Posted: 31 May 2010 at 3:11am | IP Logged Quote Anton

The syntax for v2 is:

[ISAPI_Rewrite]
RewriteCond Host: www\.site\.com
RewriteRule /news/ http\://news.site.com/ [I,RP]

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


Joined: 30 May 2010
Online Status: Offline
Posts: 4
Posted: 31 May 2010 at 7:32am | IP Logged Quote lulaping

Thank you so much, Anton.
Back to Top View lulaping's Profile Search for other posts by lulaping
 

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