timlrx/tailwind-nextjs-starter-blog

404 Error on Nested Route URL

sreeji10 opened this issue · 1 comments

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

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.