Replies: 1 comment
-
up? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
A page like website.com/@user cannot be create with today next router. It must be done using auxiliary pages with rewrites
Something like this:
Creata a page /entity/page.tsx
Non-Goals
No response
Background
This solution has a problem. The page is still available by just going to /entity/user and not only by goin /@user
Proposal
Add to the dynamic router possibilities of such routes.
Routes like:
/@[username]
/shop-[shopname]
Beta Was this translation helpful? Give feedback.
All reactions