lgraubner/sitemap-generator-cli

Angular SSR sitemap generation Bug?

raza2022 opened this issue · 1 comments

I don't think I what exactly am missing here. I am using the Complete Angular Universal SSR as given here. my site link is http://www.example.com/
I just see one link after that command sitemap-generator http://www.example.com/

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>http://www.example.com/</loc>
  </url>
</urlset>

any help will be greatly appreciated 💯

You are not using SSR or it's not working at your side. If you open the source code of of https://logodesignchamps.com/pricing for example it does not contain HTML code for that specific page.

The crawler does not render the pages, it just checks the plain HTML code. If SSR is set up correctly it works fine.