My site is bigdog-svelte.netlify.app
I am getting 404 errors for pages that work locally. Such as this page:
These are provided from an API using GraphQL on WordPress.
Some of the pages work, like all of these blog posts on page 1:
But the posts on pages 2 and so on, do not work:
It all works on my machine, but not on the server. So, that leads me to think the server isn’t setup the same as my machine.
I discovered that if I put a hidden link to the page in the footer, it will generate. Is there a better way to force those pages to be generated?
I don’t know if this is related, but I’m also getting a 500 error when I try to scrap the site with Facebook Debug. However, Facebook Debug does work on the homepage, but not any of the other pages.
Did you check the function console:
I’m seeing this error:
Which makes me feel something is wrong with the API call you might be making.