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


Joined: 12 December 2007
Online Status: Offline
Posts: 13
Posted: 30 December 2007 at 3:21pm | IP Logged Quote Flipflop

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


Joined: 12 December 2007
Online Status: Offline
Posts: 13
Posted: 30 December 2007 at 6:02pm | IP Logged Quote Flipflop

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


Joined: 12 December 2007
Online Status: Offline
Posts: 13
Posted: 30 December 2007 at 6:47pm | IP Logged Quote Flipflop

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


Joined: 12 December 2007
Online Status: Offline
Posts: 13
Posted: 30 December 2007 at 7:14pm | IP Logged Quote Flipflop

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


Joined: 12 December 2007
Online Status: Offline
Posts: 13
Posted: 31 December 2007 at 6:09am | IP Logged Quote Flipflop

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 View Flipflop's Profile Search for other posts by Flipflop
 
Sergey
Moderator Group
Moderator Group


Joined: 11 March 2005
Online Status: Offline
Posts: 712
Posted: 03 January 2008 at 7:36am | IP Logged Quote Sergey

Your rule is correct.

LinkFreeze modifies links only within <A>, <FRAME> and <IFRAME> tags.
Back to Top View Sergey's Profile Search for other posts by Sergey
 
Flipflop
Newbie
Newbie


Joined: 12 December 2007
Online Status: Offline
Posts: 13
Posted: 03 January 2008 at 5:28pm | IP Logged Quote Flipflop

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 View Flipflop's Profile Search for other posts by Flipflop
 
Sergey
Moderator Group
Moderator Group


Joined: 11 March 2005
Online Status: Offline
Posts: 712
Posted: 04 January 2008 at 5:26am | IP Logged Quote Sergey

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


Joined: 11 March 2005
Online Status: Offline
Posts: 712
Posted: 04 January 2008 at 7:35am | IP Logged Quote Sergey

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


Joined: 12 December 2007
Online Status: Offline
Posts: 13
Posted: 06 January 2008 at 6:03am | IP Logged Quote Flipflop

OK, thank you for all your help.
Back to Top View Flipflop's Profile Search for other posts by Flipflop
 

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