Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: rewrite .swf and .htm pages to root Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
ollyhodgson
Newbie
Newbie


Joined: 20 April 2009
Online Status: Offline
Posts: 2
Posted: 10 March 2010 at 10:14am | IP Logged Quote ollyhodgson

Hi

Recently launched a new site, want to ensure all .swf and .htm pages indexed by google etc. for the old site get rewritten to the root of the new site (i.e. to /). Same domain name, all pages of new site are .aspx so no conflict there. Struggling with rewrite rule.

Thanks, Olly

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


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10489
Posted: 11 March 2010 at 1:44am | IP Logged Quote Anton

If you use ISAPI_Rewrite v2, the rules will be:

[ISAPI_Rewrite]
RewriteRule /.*\.(?:swf|htm) / [I,RP]

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


Joined: 20 April 2009
Online Status: Offline
Posts: 2
Posted: 11 March 2010 at 3:27am | IP Logged Quote ollyhodgson

Thanks, Anton, that's great.

Olly

Back to Top View ollyhodgson's Profile Search for other posts by ollyhodgson
 

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