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: How to hide directory in url
Message |

Joined: 08 March 2011
Location: Vietnam
Posts: 4
Posted: 15 March 2011 at 2:45am

Hi, i'm a newbie to ISAPI_rewrite 3.
I'd like to have the url:

turned in to:

Please help me.
Back to Top Visit megahawk88's Homepage
Admin Group

Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 15 March 2011 at 4:28am

Please try to use the following:


RewriteRule /([^/]+)\.html /Directory1/$1.aspx [I,L]

Note that if you have any physical html files in the root, we'll need to modify the rule a bit to exclude them from being processed.

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