Skip to content
April 4, 2011 / edivad

CQ5 “disable” linkcheker

Linkcheker it’s a very useful functionality that highlight to the author eventual broken links within, for example, a RichText widget. However when integrating already existent web application behind apache, there’s the need to “disable” completely it.

We won’t go to disable it properly but configuring it in a way that for him all links are not to be checked.

In CQ5.4, go into the Felix console and click con components (http://<server>:<port>/system/console/components) and search for: com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl. Click on the wrench (settings) and in the link check override patterns add the following regex (using the “+” button): ^.*$.

Save and refresh the page in the author.

This will save the settings into the file crx-quickstart/launchpad/config/com/day/cq/rewriter/linkchecker/impl/LinkCheckerImpl.config.

If you want to set the config into the CRX repository (so it can be exported/imported via package manager)  go to /libs/cq/linkchecker/config/com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl using Content Explorer and edit the property service.check_override_patterns adding the regex previously mentioned.

Easy peasy! :)

Advertisement

3 Comments

Leave a Comment
  1. Indovina / Apr 20 2011 9:34 am

    hi edivaD,

    any tips about FF4 & Chrome compatibility?
    Does someone already working on that?

    Cheers
    G.

  2. edivad / Apr 20 2011 10:22 am

    FF4 has just been released. So for the official support we have to wait for the next release at least.

    About chrome and others I don’t have any official answers other that pointing to the Technical Requirements

    However, as far as I know, the supported browser list is only for the author instances. The published site one, is up to you and how you develop your site.

  3. Nitin / Feb 8 2012 3:39 pm

    For 5.4 you need to add one more attribute – service.special_link_patterns = .*

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.