Klimatbyran / klimatkollen

https://www.klimatkollen.se
MIT License
44 stars 46 forks source link

Google isn't indexing all the municipality pages #467

Open irony opened 4 months ago

irony commented 4 months ago

Något i sättet som vi skapar sidorna gör att Google inte uppfattar mer än de statiska länkarna i html. Felsök och skapa egna issues för åtgärder.

image

LudwikJaniuk commented 4 months ago

@Braggedtooth I wonder if you could look into this? I remember you adding the sitemap later - so maybe you have the requisite skills ;)

Braggedtooth commented 4 months ago

@Braggedtooth I wonder if you could look into this? I remember you adding the sitemap later - so maybe you have the requisite skills ;)

Sure, I can take a look! :)

Greenheart commented 4 months ago

This could be related to #440 since a large page size might cause the Google bot to skip indexing the page. This affects both the StartPage pages/index.tsx and all pages/[dataset]/[dataView].tsx pages too (which technically render the StartPage component too).

Another idea to investigate could be if we need to render links for all subpages, but this should hopefully already be covered by the sitemap.

Greenheart commented 3 months ago

This will likely be a bigger project. Let's continue with this later when we have the structure for the new design :)