Link to another page error 404 Next JS 13
Unanswered
Cape lion posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
Cape lionOP
Hey guys maybe i did a silly mistake or i don't understand how it works
9 Replies
![Avatar](https://cdn.discordapp.com/avatars/194128415954173952/708a8637ada505b6b7a85972807d9dca.webp?size=256)
Alfonsus Ardani
show folder structure
also what theme + font is that? looks neat
does
/penjualan/createform/page.tsx
exists?![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
Cape lionOP
![Avatar](https://cdn.discordapp.com/avatars/194128415954173952/708a8637ada505b6b7a85972807d9dca.webp?size=256)
Alfonsus Ardani
ah
thats not how you declare a page route in the
/app
dir![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
Cape lionOP
operator mono font, bearded theme arc
![Avatar](https://cdn.discordapp.com/avatars/194128415954173952/708a8637ada505b6b7a85972807d9dca.webp?size=256)
Alfonsus Ardani
here, for example,
Only
if you want to register the
Only
/penjualan
route is registered. Since the /penjualan path has page.tsx
inside it.if you want to register the
/penjualan/createform
route, then you need to create a folder called createform
with page.tsx
inside it![Image](https://cdn.discordapp.com/attachments/1136652553489231932/1136667444585439393/image.png)
![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
Cape lionOP
ah i see so i create a penjualan folder then inside it page.tsx, thank you!!