feat: #3582357 Use the entity canonical path instead of the (rewritten) URL by default and add a setting

Closes #3582357

Merge request reports

Loading