nuxt-firebase-auth icon indicating copy to clipboard operation
nuxt-firebase-auth copied to clipboard

Sitemap generator not finding all routes

Open karlstulik opened this issue 7 years ago • 3 comments
trafficstars

Hi,

I would like to build a site that is SEO.

When I try to scan nuxt-firebase-auth.firebaseapp.com with www.xml-sitemaps.com, it only detects the home page, but when I try it on nuxt-website.cosmicapp.co it finds all the routes.

How do I make it scan all the routes?

Thank you.

karlstulik avatar Feb 02 '18 07:02 karlstulik

Hi @karlstulik

This project doesn't have any sitemap: https://nuxt-firebase-auth.firebaseapp.com/sitemap.xml and it doesn't use my sitemap module, if I check the config: https://github.com/davidroyer/nuxt-firebase-auth/blob/master/nuxt.config.js#L33

I think it's not the goal of the nuxt-firebase-auth project ;-)

NicoPennec avatar Feb 03 '18 10:02 NicoPennec

Hi @NicoPennec

The website service www.xml-sitemaps.com does not read the sitemap, it creates a sitemap for websites that don't have one. What I am concerned about is that if www.xml-sitemaps.com doesn't find the different page routes then, Google might not be able to find the pages either. Resulting in bad SEO.

karlstulik avatar Feb 07 '18 06:02 karlstulik

This project is only SPA mode (not SSR mode), so no link in source code... and therefore no sitemap to create!

see nuxt.config.js => SPA mode https://github.com/davidroyer/nuxt-firebase-auth/blob/master/nuxt.config.js#L14

see html body content : view-source:https://nuxt-firebase-auth.firebaseapp.com/

NicoPennec avatar Feb 07 '18 08:02 NicoPennec