I am running backend on node js and front end on aws s3 & react SPA. The fb scrapes only the index.html in s3 always for any route. How can i handle this. My idea is when sharing in facebook i use proxy.example1.com/1/2 and render meta tags here and redirect user to www.example1.com/1/2
Try using a static site generator like GatsbyJS , NextJS , or Vuepress . This will allow you to get the best SEO, and only use a CDN/S3.
Or try looking into server side rendering in general for React. But you'll need to run a server at that point using Node and Express, so you won't be able to exclusively run off S3.
Jess Shpek
SEO is one of more challenging areas especially when it comes down to you as the user to put the relevant SEO specific functions in place.
masterseo company