Go to Setup -> Route filters. Hit the "Add route filter" button and fill out the fields. In your case, "Find route" would be "/actionPatchNotes" and "Replace with" would be "/patch-notes" (note, adjust for whatever the real URL is... I suspect that "actionPatchNotes" should actually be "/pages/actionPatchNotes"?)
Here's an example of the canonicalization concept in threads. Adapt it to suit:
Code:$this->assertCanonicalUrl($this->buildLink('threads', $thread, ['page' => $page]));
We use essential cookies to make this site work, and optional cookies to enhance your experience.