hi @VanitaNa1,
you can try Disabling link checking in the anchor: you can add the attribute x-cq-linkchecker="skip" to the <a> tag to prevent AEM’s Link Checker from inspecting or altering the URL.
How to apply:
<a href="https://www.example.com/search?query=location:ABC,DEF|date:2025-10-01~2025-10-31" x-cq-linkchecker="skip">Search Results</a>
This instructs the AEM Link Checker to skip validation and rewriting of this link, preserving the special characters as-is without blocking or removing them.
Here are some drawbacks of using this solution, though:
No validation of skipped links:
The Link Checker will completely ignore the link, so any actual broken or invalid links won’t be detected or flagged, which might lead to undetected broken links on your site.
Potential SEO impact:
Broken links that are skipped will not be identified or fixed, potentially harming user experience and SEO if such links become invalid over time.
Manual monitoring required:
Since automatic link checking is bypassed, it requires more manual oversight to ensure all skipped links remain valid.