diff --git a/src/Plugin/Linkit/Matcher/EntityMatcher.php b/src/Plugin/Linkit/Matcher/EntityMatcher.php
index 787c409..01cfa79 100644
--- a/src/Plugin/Linkit/Matcher/EntityMatcher.php
+++ b/src/Plugin/Linkit/Matcher/EntityMatcher.php
@@ -491,7 +491,7 @@ class EntityMatcher extends ConfigurableMatcherBase {
    *   The path for this entity.
    */
   protected function buildPath(EntityInterface $entity) {
-    $path = $entity->toUrl('canonical', ['path_processing' => FALSE])->toString();
+    $path = $entity->toUrl()->toString();
     // For media entities, check if standalone URLs are allowed. If not, then
     // strip '/edit' from the end of the canonical URL returned
     // by $entity->toUrl().
