diff --git a/site/src/_layout.js b/site/src/_layout.js
index <HASH>..<HASH> 100644
--- a/site/src/_layout.js
+++ b/site/src/_layout.js
@@ -260,7 +260,7 @@ const Hits = ({ searchResults }) => {
         },
       },
     }
-    const slug = highlightedHit.url.replace(/https:\/\/cli.netlify.com/, '')
+    const slug = highlightedHit.url.replace('https://cli.netlify.com', '')
     return (
       <HitsOverlay key={index}>
         <a href={slug}>
chore(site): fix wrong regex (#<I>)