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: Regex Help (Topic Closed Topic Closed)
Author
Message |
aguk
Newbie


Joined: 11 September 2007
Posts: 3
Posted: 11 September 2007 at 9:50am  

i am using Linkfreeze on our website.

However I want it to ONLY translate links on the following pages

/products.asp
/prodtype.asp
/help.asp

I also want to redirect incoming requests to these pages ONLY.

At the moment my directory pattern is /* and the HTML Link filter is set as @(/product.asp|/prodtype.asp|/help.asp).*

This kind of works in that links are only translated on the relevant pages but incoming requests are also being translated on other pages.

What is the best way for me to achieve what I want?

Back to Top
 
aguk
Newbie


Joined: 11 September 2007
Posts: 3
Posted: 12 September 2007 at 6:53am  

Figured it out.

Directory pattern is

@/(?![^product.asp|^prodtype.asp|^help.asp]).*

Kind of a double "is not" statement. IE do not apply linkfreeze to pages that do not match these.

 

Back to Top
 
aguk
Newbie


Joined: 11 September 2007
Posts: 3
Posted: 12 September 2007 at 8:12am  

Sorry didn't get that quiet right. Below is what I am now using with success (from what I can tell)

@/(product\.asp|prodtype\.asp|help\.asp)*

Nothing in the Advanced > HTML box.

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