DEV Community

UncleZeze πŸ‡ΏπŸ‡¦
UncleZeze πŸ‡ΏπŸ‡¦

Posted on

Next.js 404 Issues

Hey devs!!

I have a Next.js blog project. I have a page that is meant to render article content from a CMS. Querying the blog post data from the CMS works fine. The issue seems to be with Next.js specifically in that Next deems my page as non-existent.

Below is a snippet pages directory structure:

pages/
-------article/
--------------[slug].tsx
Enter fullscreen mode Exit fullscreen mode

Previously the article page was rendering with no issues. For some unfathomable reason, Next returns a 404 when I navigate to this page.

I am using next@9.5.3

Any help will be appreciated

Top comments (0)