Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 Error on Nested Route URL #1050

Open
sreeji10 opened this issue Nov 2, 2024 · 1 comment
Open

404 Error on Nested Route URL #1050

sreeji10 opened this issue Nov 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sreeji10
Copy link

sreeji10 commented Nov 2, 2024

Describe the bug
When accessing the nested route URL /blog/nested-route, a 404 error is displayed. The expected behavior is to show all blog posts associated with this nested route, similar to the /blog route.

To Reproduce

  1. Navigate to the following URL: https://tailwind-nextjs-starter-blog.vercel.app/blog/nested-route
  2. Observe that a 404 error page is displayed

Expected behavior
The page should list all blog posts located under the /blog/nested-route directory, similar to how the /blog page displays all posts.
Ex: Results should be shown similar to visiting /blog page : https://tailwind-nextjs-starter-blog.vercel.app/blog

Actual Behavior
404 error page is shown.

Screenshots
image

@sreeji10 sreeji10 added the bug Something isn't working label Nov 2, 2024
@timlrx
Copy link
Owner

timlrx commented Nov 2, 2024

Hi, there's no intention on creating a page for all nested-route, but you can add a page that does that if that's your preference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants