I have this website were we can create new questions. Whenever a new question is created a new url is generated I want google to crawl my website everytime a new question is added and display it in google.
I have my front end in react js
and backend in express js
.
My front end is hosted in firebase
and backend in heroku
.
Since I am using javascript and my urls are all dynamicly generated google does not crawl or index them.
Currently I am writing all dymaicly created urls into a file in my root folder in backend called sitemap.txt
.
What should i do to achive this?
my sitmap link https://ask-over.herokuapp.com/sitemap.txt
my react apps link https://wixten.com
my express.js link https://ask-over.herokuapp.com
i want to add https://ask-over.herokuapp.com/sitemap.txt to google search console