I have a site where I create new URLs based on new questions asked.
I am trying to add the new URLs created to
sitemap.txt and submit them to Google Search Console.
I am generating new URLs and new URLs are being written on the back end in to a file called
sitemap.txt but I don't know how to connect it to Google Search Console.
I have my front end in firebase made with react JS and back end is express.js and is hosted in Heroku. I have added my site's URL to Google Search Console.
The periodically generated
sitemap.txt is in express.js as show in the screen shot below. In the second image you can see that I have added https://askover.herokuapp.com/sitemap.txt in Google Search Console under my site's property.
What am I doing wrong here? How can I set it up such that new URLs added to the sitemap will be re crawled by Googlebot to index in Google?
<a href="...">in the DOM, even if you intercept the clicks and load the content using JS for users. Even with React, sitemaps won't help much and you still need to link your pages together.