How to create sitemap.xml for an AngularJS site?

I have an AngularJS application that uses ui-state router. It has several static pages and differs from it in that it has profile pages that generate a dynamic page based on the profile identifier.

For SEO purposes, I used PhantomJS and generated HTML files to give a scanned answer.

But, how can I generate sitemap.xml, which contains all the URLs of dynamic pages, and this crawler can be retrieved and listed in the search engine?

+5
source share

Source: https://habr.com/ru/post/1259731/


All Articles