External links with .aspx extensions labelled as invalid even after adding check_override_pattern in Linkchecker to skip .aspx links | Community
Skip to main content
Level 1
June 10, 2026
Question

External links with .aspx extensions labelled as invalid even after adding check_override_pattern in Linkchecker to skip .aspx links

  • June 10, 2026
  • 0 replies
  • 5 views

 I’ve been facing an issue in RTE where the links with .aspx extensions were flagged as invalid by linkchecker. 
Hence I added a override pattern in com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl.cfg.json with the below pattern:

"service.check_override_patterns": [
  "^system/",
  "^.*\\.aspx(?:$|[?#].*)"
]
Note: “^system/” was added as default.
Even after this change, the .aspx links are still getting flagged as invalid in the linkchecker even though they are valid web pages. 
How can I fix this?