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: URL error (Topic Closed Topic Closed)
Author
Message |
Flipflop
Newbie


Joined: 12 December 2007
Posts: 13
Posted: 30 December 2007 at 3:21pm  

I'm getting an error in part of my CMS the frozen URL is;

directory_launch-type--1-DIID-2477.htm

which is being logged in IIS as;

directory_launch.asp type=&1=DIID&2477

which in turn is causing issues as the query strings are corrupt, any help would be appreciated, thank you.



Back to Top
 
Flipflop
Newbie


Joined: 12 December 2007
Posts: 13
Posted: 30 December 2007 at 6:02pm  

Switching - to ~ in the configuration file seems to have fixed this, are there any disadvantages (from an SEO point of view) to using ~ instead of -

Also one other bug/quirk I have found is that with my forum which is also WWF like here when in an actual post the <<Prev Topic | Next Topic >> parses the frozen link however if follow the URL you end up with the unfrozen link in browser address bar, just wonders as you have WWF here and your version does not do this whether you had any idea why.

Thank you in advance.


Back to Top
 
Flipflop
Newbie


Joined: 12 December 2007
Posts: 13
Posted: 30 December 2007 at 6:47pm  

On investigation I assume because this is redirecting the frozen URL needs to be hard coded into the processing file which is what I have done.
Back to Top
 
Flipflop
Newbie


Joined: 12 December 2007
Posts: 13
Posted: 30 December 2007 at 7:14pm  

The whole regular express thing has me beat 

I need to restrict a few files and a directory as the FCKeditor is not working on myself currently, so I would for example like to not have link freeze working on the following banner.asp banner_managment.asp affiliates.asp and the directory /fckeditor/

I'm using a manual install and currently my ini file looks like this;

Code:

##################################################
# Examples of configuration records

# 1. Apply to the whole site
#    Replace ?, & and = by dashes, replace .asp file extension with .htm
#    and move file extension to the end of file
/ ~~~ .asp [MoveExt,AbsLinks,Redirect]


# 2. Use regular expression
#    Replace ?, & and = by dashes.
#    Replace .cfm file extension with .htm
#@.*        ---    .cfm


Could anyone tell me exactly what I need to change, many thanks in advance and apologies for being a pain.


Back to Top
 
Flipflop
Newbie


Joined: 12 December 2007
Posts: 13
Posted: 31 December 2007 at 6:09am  

Getting there slowly  I now have the following;

Code:

@(?!/dcxd/fck2|/banner_html.asp|/banner_rotater.asp).* ~~~ .asp [MoveExt,AbsLinks,Redirect]


Which is half working, however any links in the FCK editors content are being frozen for some odd reason, php links example of the FCK in source view;

Code:

<!--START MERCHANT:merchant name -->             <a href="http://www.awinnnn.com/cready~s~89687~v~157~q~61059~r~64872"><img border="0" alt="" src="http://www.awinnnn.com/cshowy.php?s=89687&amp;v=157&amp;q=61059&amp;r=64872"/></a>             <!--END MERCHANT:merchant name -->



Back to Top
 
Sergey
Admin Group


Joined: 11 March 2005
Posts: 750
Posted: 03 January 2008 at 7:36am  

Your rule is correct.

LinkFreeze modifies links only within <A>, <FRAME> and <IFRAME> tags.
Back to Top
 
Flipflop
Newbie


Joined: 12 December 2007
Posts: 13
Posted: 03 January 2008 at 5:28pm  

Hello Sergey

 Thank you for the reply.

 Then LF is not obeying the rule to not freeze links on banner_html.asp
Code:

 @(?!/dcxd/fck2|/banner_html.asp|/banner_rotater.asp).* ~~~ .asp [MoveExt,AbsLinks,Redirect]


 All links on this page are still frozen

 Also can I use wildcards in the rule, so for example to not freeze all pages in the root that start with 'banner' would something like this work?
Code:

 @(?!/dcxd/fck2|/banner*|/banner_rotater.asp).* ~~~ .asp [MoveExt,AbsLinks,Redirect]


TIA
Back to Top
 
Sergey
Admin Group


Joined: 11 March 2005
Posts: 750
Posted: 04 January 2008 at 5:26am  

Please show exact content of LinkFreeze config.

Small correction for rule with wildcards:
@(?!/dcxd/fck2|/banner.*|/banner_rotater.asp).* ~~~ .asp [MoveExt,AbsLinks,Redirect]
Back to Top
 
Sergey
Admin Group


Joined: 11 March 2005
Posts: 750
Posted: 04 January 2008 at 7:35am  

> Is there any performance impact from using wildcards in the rule? Would it better for performance if written with regular expression?

This rule alredy writen with regular expression.
And don't worry about performance impact. The one simple regular expression can't slowdown server.
Back to Top
 
Flipflop
Newbie


Joined: 12 December 2007
Posts: 13
Posted: 06 January 2008 at 6:03am  

OK, thank you for all your help.
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