Rule page.canonical.fragment
Remove the URL fragment from the canonical
page.canonical.fragment is a check in Crawlmind's site audit that grades medium-impact issues of this kind. This page explains why the rule matters and the exact fix.
Why it matters
A canonical href that includes a fragment (`#section`) is invalid per Google: search engines drop the fragment when canonicalising, so the canonical effectively becomes the no-fragment URL anyway. Worse, some crawlers interpret the broken canonical as a malformed signal and skip it entirely, defaulting to whatever URL they discovered the page at: usually with tracking parameters.
The fix
```html
<!-- Wrong: canonical should never contain # -->
<link rel="canonical" href="https://example.com/page#features" />
<!-- Right: strip the fragment -->
<link rel="canonical" href="https://example.com/page" />
```
If you need the fragment for navigation, leave it in regular `<a href>` links: just not in the `<link rel="canonical">`.