I'm working on an AngularJS application which creates a lot of dynamic content, for example: Every time a new user is created a new link is generated, etc.
Question:
How can I manage all this in a sitemap, and is there any tool for automatically generating sitemaps in AngularJS? Do I have to update my sitemap each time a new user is registered?
So, I solved this problem by generating the sitemap at back end (Rest API) instead of Angular. I created a rest end point to generate a new sitemap, and return that in the form of an xml file. When the new sitemap was generated it contained all new dynamic urls, and there was no need to add a new url each time some content was updated
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With