skip to Main Content

NextJS dynamic title – SEO

Have been googling forever and found a way to change the <title>. That way is this: https://github.com/zeit/next.js/tree/master/examples/layout-component The main problem with this is that everytime someone refresh the site/change page the title goes from http://localhost:3000 to the actual Title (eg.…

VIEW QUESTION

Why do I get a 404 for half a second when clicking a next.js `Link` that just calls an API endpoint and then navigates to the correct page?

Hiho, I followed this guide here: https://auth0.com/blog/next-js-authentication-tutorial/ (adding auth with passport to next.js) I have one simple problem. In my "/login" Link from next.js when I click it, I can see this error for about 200ms: Request URL: http://localhost:3000/_next/static/development/pages/login.js Request…

VIEW QUESTION

Nextjs page goes to 404 on refresh – Shopify

I'm using nextjs and graphql for a shopify POC. I have a component that shows a list of products with links on them that point to the product page <Link as={`${handle}/product/${url}`} href={`/product?id=${item.id};`}> <a>{item.title}</a> </Link> handle is the collection name so…

VIEW QUESTION
Back To Top
Search