Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
LinkFreeze support forum
 Helicon Tech : LinkFreeze support forum
Subject Topic: Regex Help Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
aguk
Newbie
Newbie


Joined: 11 September 2007
Online Status: Offline
Posts: 3
Posted: 11 September 2007 at 9:50am | IP Logged Quote aguk

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 View aguk's Profile Search for other posts by aguk
 
aguk
Newbie
Newbie


Joined: 11 September 2007
Online Status: Offline
Posts: 3
Posted: 12 September 2007 at 6:53am | IP Logged Quote aguk

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 View aguk's Profile Search for other posts by aguk
 
aguk
Newbie
Newbie


Joined: 11 September 2007
Online Status: Offline
Posts: 3
Posted: 12 September 2007 at 8:12am | IP Logged Quote aguk

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 View aguk's Profile Search for other posts by aguk
 

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