Sitemap for SPA sites with AEM SPA implementation | Community
Skip to main content
phychem_ad
Level 2
August 14, 2020
Solved

Sitemap for SPA sites with AEM SPA implementation

  • August 14, 2020
  • 3 replies
  • 2739 views

Hi

 

we are implementing an SPA site with AEM 6.5+SPA editor, is there a way to generate a sitemap to optimize for SEO?  or is SSR a must?  and if SSR is a must, then using Adobe I/O also the recommended approach?

 

with my previous implementation with AEM 6.3, we used the ACS commons sitemap generator https://adobe-consulting-services.github.io/acs-aem-commons/features/sitemap/index.html for non SPA app.  Would this still work for SPA? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Vijayalakshmi_S

Hi @phychem_ad,

Two factors like SEO and Page Speed requirement for your site help decide if there is a need for SSR.

 

Below official documentation link highlights "when to use SSR"

https://docs.adobe.com/content/help/en/experience-manager-65/developing/headless/spas/spa-ssr.html#when-to-use-ssr

If you have decided to use SSR, then Adobe I/O is the recommended solution per the below section

https://docs.adobe.com/content/help/en/experience-manager-65/developing/headless/spas/spa-ssr.html#adobe-i-o-runtime

3 replies

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
August 14, 2020

Hi @phychem_ad,

Two factors like SEO and Page Speed requirement for your site help decide if there is a need for SSR.

 

Below official documentation link highlights "when to use SSR"

https://docs.adobe.com/content/help/en/experience-manager-65/developing/headless/spas/spa-ssr.html#when-to-use-ssr

If you have decided to use SSR, then Adobe I/O is the recommended solution per the below section

https://docs.adobe.com/content/help/en/experience-manager-65/developing/headless/spas/spa-ssr.html#adobe-i-o-runtime

BrianKasingli
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 15, 2020

@phychem_ad for SEO, SSR, you can utilise the ACS commons sitemap generator, https://adobe-consulting-services.github.io/acs-aem-commons/features/sitemap/index.html

phychem_ad
Level 2
August 17, 2020

thanks @vijayalakshmi_s @briankasingli 

in the case that my "When to use SSR" answer is no, may i know whether i still need to use the ACS commons sitemap generator to generate the sitemap (ie. is it even going to work on SPA sites) or assume(hope) that the main search engine will be able to evaluate the JS?