diff --git a/src/Uri/WordPressUri.php b/src/Uri/WordPressUri.php
index <HASH>..<HASH> 100644
--- a/src/Uri/WordPressUri.php
+++ b/src/Uri/WordPressUri.php
@@ -60,8 +60,8 @@ final class WordPressUri implements UriInterface
          * `example.com/subfolder` we need to strip down `/subfolder` from path and build a path
          * for route matching that is relative to home url.
          */
-        $homePath = trim(rawurlencode(parse_url(home_url(), PHP_URL_PATH)), '/');
-        $path = trim(rawurlencode($this->uri->getPath()), '/');
+        $homePath = trim(parse_url(home_url(), PHP_URL_PATH), '/');
+        $path = trim($this->uri->getPath(), '/');
         if ($homePath && strpos($path, $homePath) === 0) {
             $path = trim(substr($path, strlen($homePath)), '/');
         }
Remove rawurlencode for url path from WordPressUri