diff --git a/site/src/AppRouter.tsx b/site/src/AppRouter.tsx
index 8fa55bd9ef..ff0adab823 100644
--- a/site/src/AppRouter.tsx
+++ b/site/src/AppRouter.tsx
@@ -320,26 +320,29 @@ export const AppRouter: FC = () => {
-
-
- } />
- }
- />
- }>
- } />
- }
- />
- }
- />
-
-
+ {/* In order for the 404 page to work properly the routes that start with
+ top level parameter must be fully qualified. */}
+ } />
+ }
+ />
+ }
+ >
+ } />
+ }
+ />
+ } />
+
+ {/* Using path="*"" means "match anything", so this route
+ acts like a catch-all for URLs that we don't have explicit
+ routes for. */}
+ } />
{/* Pages that don't have the dashboard layout */}
@@ -354,11 +357,6 @@ export const AppRouter: FC = () => {
element={}
/>
-
- {/* Using path="*"" means "match anything", so this route
- acts like a catch-all for URLs that we don't have explicit
- routes for. */}
- } />