For some reason every time I access this url /someCategoryName/someSlugName I get redirected to /someCategoryName/someSlugName?category=someCategoryName&slug=someSlugName . Same with /popular/someSlugName to /popular/someSlugName?slug=someSlugName I am using Next.js 13 with pages folder, Vercel, React. I have dynamic pages with following routes: [category]/[slug].tsx and popular/[slug].tsx I have getStaticPaths and getStaticProps on this page....
Originally asked by ira bolyukh on Stack Exchange (stackoverflow) (CC BY-SA 4.0).