N
Nuxt6mo ago
jakesdev

Prerender 404 issue with Google Crawl

I'm running my Nuxt app as a static site using nuxt generate. I have thousands of images(URLS) on my website, so I can only prerender a limited number of pages (around 60). However, visiting non-prerendered pages results in a 404 error eventhought page still loaded, impacting Google Search crawling. How can I resolve this while maintaining a static site approach? URL below: https://pictographic.io/free-vector-illustrations/images/a-visual-metaphor-for-artificial-intelligence-or-a-machine-like-mind Thank for your help
No description
2 Replies
harlan
harlan6mo ago
You need to set up a fallback 404 file in nginx
harlan
harlan6mo ago
Stack Overflow
How to handle 404 error request in vuejs SPA with nginx server
I have set up my vue-cli version 3 SPA so that any requests not found in my routes.js file will default to my 404 view as shown in the official documentation: Inserted near bottom of routes.js fil...
Want results from more Discord servers?
Add your server