This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
LinkFreeze (Forum Locked Forum Locked)
 Helicon Tech : LinkFreeze
Subject Topic: Simple rewrite help (Topic Closed Topic Closed)
Author
Message |
cf_asp_al
Newbie


Joined: 08 February 2007
Posts: 7
Posted: 25 July 2007 at 6:21am  

I would like to rewrite the 3 possible URLs (the base directory will chnage depending on the first level navigation):

/aboutr3/default.asp?dir=ContactUs/Technical&pag=fourth&i=378
to
/aboutr3/ContactUs/Technical/Fourth_378.htm

/aboutr3/default.asp?dir=ContactUs&pag=Technical&i=370
to
/aboutr3/ContactUs/Technical_370.htm

/aboutr3/default.asp?pag=Technical&i=368
to
/aboutr3/Technical_368.htm

with any additional querystring values being appended to the end of the url.  For example

/aboutr3/default.asp?pag=Technical&i=368&newsid=1
to
/aboutr3/Technical_368_newsid=1.htm

I hope this is possible, thank you in advance

Alister

 

Back to Top
 
Lexey
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Posts: 8119
Posted: 26 July 2007 at 3:48pm  

RewriteRule /aboutr3/(?:([^?.]+)/)?([^?./_])_(\d+)(?:_(.*))?\.htm /aboutr3/default.asp\?(?1dir=$1&:)pag=$2&i=$3?4&$4: [I,L]
Back to Top
 
cf_asp_al
Newbie


Joined: 08 February 2007
Posts: 7
Posted: 31 July 2007 at 3:28am  

I have tired to add this to link freeze and it is invalid any suggestions

Back to Top
 
Sergey
Admin Group


Joined: 11 March 2005
Posts: 750
Posted: 31 July 2007 at 4:03am  

This rule for ISAPI_Rewrite.

Linkfreeze can't accomplish this task.
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