Headless SEO
Optimising Next Gen Sites
Alex Wright | Clicky Media
https://www.slideshare.net/AlexWright84/
@Wrighty__
What we’ll cover
What a headless CMS is, and
examples
Benefits to using a headless CMS
Things to look out for when
moving to a headless CMS
Intro >
So, you’re thinking of moving to a
headless CMS.
#BrightonSEO @Wrighty__
Home >
...but it’s all a bit nerve wracking
#BrightonSEO @Wrighty__
Intro >
Not quite at the stage to move?
You’ll find some resources on the final slide!
#BrightonSEO @Wrighty__
Intro >
What are
headless websites?
#BrightonSEO @Wrighty__
Intro > What A Headless CMS Is
The notion of a “headless” website
refers to a situation where:
#BrightonSEO @Wrighty__
https://pantheon.io/blog/headless-websites-whats-big-deal-decoupled-architecture
Intro > What A Headless CMS Is
#BrightonSEO @Wrighty__
https://pantheon.io/blog/headless-websites-whats-big-deal-decoupled-architecture
Intro > What A Headless CMS Is
There is a traditional database-driven CMS
which editors use to maintain the content for
the site, usually via the same old admin
interface as always.
#BrightonSEO @Wrighty__
The content for the site is accessible via a
web-service API, usually in a RESTful manner
https://pantheon.io/blog/headless-websites-whats-big-deal-decoupled-architecture
Intro > What A Headless CMS Is
#BrightonSEO @Wrighty__
https://pantheon.io/blog/headless-websites-whats-big-deal-decoupled-architecture
Intro > What A Headless CMS Is
The end-user experience is delivered by a
Javascript application rendering the output of
this API into HTML
Let’s break that
down a little...
#BrightonSEO @Wrighty__
Intro > What A Headless CMS Is
#BrightonSEO @Wrighty__
Image credit - Brett Cameron -
https://medium.com/@bretcameron/building-my-first-headless-cms-what-i-wish-i-knew-a
t-the-start-1f3ef3a00bb8
Intro > What A Headless CMS Is
Monolithic CMS
Database
Back-end CMS
Interface
Front-end
presentation layer
One back-end is used to create
one front-end, which must run on
the same server
Headless CMS
Database
Back-end CMS
Interface
API
One back-end can be used to provide data for
numerous front-ends, each with their own
server, and there are no limitations on the
technologies used for these front-ends.
CMS.
1
#BrightonSEO @Wrighty__
Intro > What A Headless CMS Is
A CMS is used to create &
control content:
#BrightonSEO @Wrighty__
CMS
Intro > What A Headless CMS Is
API.
2
#BrightonSEO @Wrighty__
Intro > What A Headless CMS Is
The CMS translates that
content into an API
#BrightonSEO @Wrighty__
Intro > What A Headless CMS Is
CMS API
HTML.
3
#BrightonSEO @Wrighty__
Intro > What A Headless CMS Is
The API is translated into HTML
by a Javascript framework
##BrightonSEO @Wrighty__
Intro > What A Headless CMS Is
CMS API HTML
Popular headless CMS’es
#BrightonSEO @Wrighty__
Strapi
8.5k installs
Netlify
345k installs
Contentful
25.6k installs
Intro > What A Headless CMS Is
Traditional CMS with headless
capabilities
#BrightonSEO @Wrighty__
WordPress Magento Drupal
Intro > What A Headless CMS Is
It’s also possible to run a
hybrid setup...
#BrightonSEO @Wrighty__
WordPress + Magento Storyblok + Shopware
Intro > What A Headless CMS Is
What are the Benefits?
#BrightonSEO @Wrighty__
Intro > What A Headless CMS Is > Benefits
Headless CMS Benefits
Intro > What A Headless CMS Is > Benefits
Performance
#BrightonSEO @Wrighty__
Flexibility Hosting
Case studies
Intro > What A Headless CMS Is > Benefits
#BrightonSEO @Wrighty__
25% Increase
In conversions
#BrightonSEO @Wrighty__
30% Increase
In conversions
Intro > What A Headless CMS Is > Benefits
Making the switch
#BrightonSEO @Wrighty__
Intro > What A Headless CMS Is > Benefits > Switching
First of all, don’t panic
#BrightonSEO @Wrighty__
Intro > What A Headless CMS Is > Benefits > Switching
The fundamentals
still apply
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Keep content & URL
structures the same
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Things to look out for
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Rendering
Issues.
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
APIs from the CMS deliver page
information as JSON data
#BrightonSEO @Wrighty__
This means that the site will be
rendered client side
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Why is this a problem?
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
For users, the difference comes
in performance
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Yes, crawlers can render webpages client side
https://developers.google.com/search/docs/guides/javascript-seo-basics
Intro > What A Headless CMS Is > Benefits > Switching
Crawl
Queue
Crawler Processing Index
Render
Queue
Renderer
URLs
URL HTML
Rendered
HTML
#BrightonSEO @Wrighty__
...but it’s definitely not optimal for them
or the site
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
How do we make life easier for
crawlers & users, AND maintain
performance?
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Server side rendering & Static Site
Generation are popular ways to deal
with this issue
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
SSR vs SSG
Server Side Rendering Static Site Generation
Pages built on the server at request time Pages built during ‘build’ time - before users have
accessed the site
Unable to use a CDN Can use a CDN
Good solution for dynamic sites/extremely large sites Good solution for more static sites/smaller sites
Impacts TTFB speed Can take a long time to ‘build’ sites if they’re larger
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Server Side Rendering
Intro > What A Headless CMS Is > Benefits > Switching
Pages built on the server at request time
Unable to use a CDN
Good solution for dynamic sites/extremely large sites
Impacts TTFB speed
#BrightonSEO @Wrighty__
Static Site Generation
Intro > What A Headless CMS Is > Benefits > Switching
Pages built during ‘build’ time
Can use a CDN
Good solution for more static sites/smaller sites
Can take a long time to ‘build’ sites if they’re larger
#BrightonSEO @Wrighty__
You might have also heard of
dynamic rendering
Intro > What A Headless CMS Is > Benefits > Switching
Server
Initial HTML + JavaScript
Browser
Crawler
Initial HTML
+ JavaScript
Static
HTML
Renderer
#BrightonSEO @Wrighty__
Prerendering
Intro > What A Headless CMS Is > Benefits > Switching
Good solution for smaller, easy to manage sites
Ensures pages are rendered correctly for crawlers
User error can cause incorrect pages to appear
Some providers struggle handling large numbers
of requests
#BrightonSEO @Wrighty__
Useful tools for diagnosing
rendering issues
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Meta data
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Most traditional CMS tend to have
meta data built in
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
But this isn’t the case with many
headless CMS’
“most traditional CMSs allow you to edit site metadata
such as titles and descriptions out of the box. Since a
headless CMS has no control over how the content is
rendered, we have to add this functionality ourselves.”
- Storyblok
Intro > What A Headless CMS Is > Benefits > Switching
https://www.storyblok.com/tp/seo-in-times-of-headless-cms-and-spa
#BrightonSEO @Wrighty__
We need to consider this at
build stage
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Previewing
Pages
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Page preview functions
don’t come with all headless
CMS as default
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
But that doesn’t mean
it’s not possible
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
CMS’es such as Sitecore
have a preview option
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
CMS that support drafts
can be set up to support
previews
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Static URLs
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
With pages being generated through
API calls, some CMS might not use
static URLs
https://yoursitename.com/api/?category=
primary&subtype=subcategory
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
These need to be set at build stage.
The good news is, with a headless
CMS you have full control over URL
structures
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Blocking
files
#BrightonSEO
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
It’s also crucial to analyse your
robots.txt when you migrate
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
If you’re blocking any JS files then
crawlers won’t render them, and
might not see the full content of
your pages
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Web Vitals
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Just because your site feels fast,
doesn’t mean it passes CWV tests
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
The issues don’t disappear,
they evolve
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Internal
linking
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Enter... ‘onclick’
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
With APIs being translated using JS, it’s common
to see JS elements such as “onclick” creep in
@Wrighty__
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Fortunately, using a tool such as
Screaming Frog, we can spot these
onclick issues quickly.
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
Once identified, speak to your
development team to have these
changed to standard href links.
Intro > What A Headless CMS Is > Benefits > Switching
#BrightonSEO @Wrighty__
The wrap up
Intro > What A Headless CMS Is > Benefits > Switching > Summary
#BrightonSEO @Wrighty__
1. Switching to a headless CMS needn’t be terrifying
2. The fundamentals of SEO still apply
3. Getting the build right is key
4. Ensure that you have SSR/SSG/Dynamic rendering
in place
5. A switch to headless can lead to big
performance improvements
Intro > What A Headless CMS Is > Benefits > Switching > Summary
#BrightonSEO @Wrighty__
The most important thing…
is to make friends with your development team
Intro > What A Headless CMS Is > Benefits > Switching > Summary
#BrightonSEO @Wrighty__
https://www.contentful.com/r/knowledgebase/wha
t-is-headless-cms/
https://www.storyblok.com/tp/headless-
cms-explained
https://www.sanity.io/blog/
headless-cms-explained
Intro > What A Headless CMS Is > Benefits > Switching > Summary
#BrightonSEO @Wrighty__
https://www.clicky.co.uk/BSEO2021
#BrightonSEO @Wrighty__
Get the Slides
Thank you!
@Wrighty__

Headless SEO: Optimising Next Gen Sites | brightonSEO 2021

  • 1.
    Headless SEO Optimising NextGen Sites Alex Wright | Clicky Media https://www.slideshare.net/AlexWright84/ @Wrighty__
  • 2.
    What we’ll cover Whata headless CMS is, and examples Benefits to using a headless CMS Things to look out for when moving to a headless CMS Intro >
  • 3.
    So, you’re thinkingof moving to a headless CMS. #BrightonSEO @Wrighty__ Home >
  • 4.
    ...but it’s alla bit nerve wracking #BrightonSEO @Wrighty__ Intro >
  • 5.
    Not quite atthe stage to move? You’ll find some resources on the final slide! #BrightonSEO @Wrighty__ Intro >
  • 6.
    What are headless websites? #BrightonSEO@Wrighty__ Intro > What A Headless CMS Is
  • 7.
    The notion ofa “headless” website refers to a situation where: #BrightonSEO @Wrighty__ https://pantheon.io/blog/headless-websites-whats-big-deal-decoupled-architecture Intro > What A Headless CMS Is
  • 8.
    #BrightonSEO @Wrighty__ https://pantheon.io/blog/headless-websites-whats-big-deal-decoupled-architecture Intro >What A Headless CMS Is There is a traditional database-driven CMS which editors use to maintain the content for the site, usually via the same old admin interface as always.
  • 9.
    #BrightonSEO @Wrighty__ The contentfor the site is accessible via a web-service API, usually in a RESTful manner https://pantheon.io/blog/headless-websites-whats-big-deal-decoupled-architecture Intro > What A Headless CMS Is
  • 10.
    #BrightonSEO @Wrighty__ https://pantheon.io/blog/headless-websites-whats-big-deal-decoupled-architecture Intro >What A Headless CMS Is The end-user experience is delivered by a Javascript application rendering the output of this API into HTML
  • 11.
    Let’s break that downa little... #BrightonSEO @Wrighty__ Intro > What A Headless CMS Is
  • 12.
    #BrightonSEO @Wrighty__ Image credit- Brett Cameron - https://medium.com/@bretcameron/building-my-first-headless-cms-what-i-wish-i-knew-a t-the-start-1f3ef3a00bb8 Intro > What A Headless CMS Is Monolithic CMS Database Back-end CMS Interface Front-end presentation layer One back-end is used to create one front-end, which must run on the same server Headless CMS Database Back-end CMS Interface API One back-end can be used to provide data for numerous front-ends, each with their own server, and there are no limitations on the technologies used for these front-ends.
  • 13.
  • 14.
    A CMS isused to create & control content: #BrightonSEO @Wrighty__ CMS Intro > What A Headless CMS Is
  • 15.
  • 16.
    The CMS translatesthat content into an API #BrightonSEO @Wrighty__ Intro > What A Headless CMS Is CMS API
  • 17.
  • 18.
    The API istranslated into HTML by a Javascript framework ##BrightonSEO @Wrighty__ Intro > What A Headless CMS Is CMS API HTML
  • 19.
    Popular headless CMS’es #BrightonSEO@Wrighty__ Strapi 8.5k installs Netlify 345k installs Contentful 25.6k installs Intro > What A Headless CMS Is
  • 20.
    Traditional CMS withheadless capabilities #BrightonSEO @Wrighty__ WordPress Magento Drupal Intro > What A Headless CMS Is
  • 21.
    It’s also possibleto run a hybrid setup... #BrightonSEO @Wrighty__ WordPress + Magento Storyblok + Shopware Intro > What A Headless CMS Is
  • 22.
    What are theBenefits? #BrightonSEO @Wrighty__ Intro > What A Headless CMS Is > Benefits
  • 23.
    Headless CMS Benefits Intro> What A Headless CMS Is > Benefits Performance #BrightonSEO @Wrighty__ Flexibility Hosting
  • 24.
    Case studies Intro >What A Headless CMS Is > Benefits #BrightonSEO @Wrighty__
  • 25.
    25% Increase In conversions #BrightonSEO@Wrighty__ 30% Increase In conversions Intro > What A Headless CMS Is > Benefits
  • 26.
    Making the switch #BrightonSEO@Wrighty__ Intro > What A Headless CMS Is > Benefits > Switching
  • 27.
    First of all,don’t panic #BrightonSEO @Wrighty__ Intro > What A Headless CMS Is > Benefits > Switching
  • 28.
    The fundamentals still apply Intro> What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 29.
    Keep content &URL structures the same Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 30.
    Things to lookout for Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 31.
    Rendering Issues. Intro > WhatA Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 32.
    APIs from theCMS deliver page information as JSON data #BrightonSEO @Wrighty__
  • 33.
    This means thatthe site will be rendered client side Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 34.
    Why is thisa problem? Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 35.
    For users, thedifference comes in performance Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 36.
    Yes, crawlers canrender webpages client side https://developers.google.com/search/docs/guides/javascript-seo-basics Intro > What A Headless CMS Is > Benefits > Switching Crawl Queue Crawler Processing Index Render Queue Renderer URLs URL HTML Rendered HTML #BrightonSEO @Wrighty__
  • 37.
    ...but it’s definitelynot optimal for them or the site Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 38.
    How do wemake life easier for crawlers & users, AND maintain performance? Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 39.
    Server side rendering& Static Site Generation are popular ways to deal with this issue Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 40.
    SSR vs SSG ServerSide Rendering Static Site Generation Pages built on the server at request time Pages built during ‘build’ time - before users have accessed the site Unable to use a CDN Can use a CDN Good solution for dynamic sites/extremely large sites Good solution for more static sites/smaller sites Impacts TTFB speed Can take a long time to ‘build’ sites if they’re larger Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 41.
    Server Side Rendering Intro> What A Headless CMS Is > Benefits > Switching Pages built on the server at request time Unable to use a CDN Good solution for dynamic sites/extremely large sites Impacts TTFB speed #BrightonSEO @Wrighty__
  • 42.
    Static Site Generation Intro> What A Headless CMS Is > Benefits > Switching Pages built during ‘build’ time Can use a CDN Good solution for more static sites/smaller sites Can take a long time to ‘build’ sites if they’re larger #BrightonSEO @Wrighty__
  • 43.
    You might havealso heard of dynamic rendering Intro > What A Headless CMS Is > Benefits > Switching Server Initial HTML + JavaScript Browser Crawler Initial HTML + JavaScript Static HTML Renderer #BrightonSEO @Wrighty__
  • 44.
    Prerendering Intro > WhatA Headless CMS Is > Benefits > Switching Good solution for smaller, easy to manage sites Ensures pages are rendered correctly for crawlers User error can cause incorrect pages to appear Some providers struggle handling large numbers of requests #BrightonSEO @Wrighty__
  • 45.
    Useful tools fordiagnosing rendering issues Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 46.
    Meta data Intro >What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 47.
    Most traditional CMStend to have meta data built in Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 48.
    But this isn’tthe case with many headless CMS’ “most traditional CMSs allow you to edit site metadata such as titles and descriptions out of the box. Since a headless CMS has no control over how the content is rendered, we have to add this functionality ourselves.” - Storyblok Intro > What A Headless CMS Is > Benefits > Switching https://www.storyblok.com/tp/seo-in-times-of-headless-cms-and-spa #BrightonSEO @Wrighty__
  • 49.
    We need toconsider this at build stage Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 50.
    Previewing Pages Intro > WhatA Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 51.
    Page preview functions don’tcome with all headless CMS as default Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 52.
    But that doesn’tmean it’s not possible Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 53.
    CMS’es such asSitecore have a preview option Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 54.
    CMS that supportdrafts can be set up to support previews Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 55.
    Static URLs Intro >What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 56.
    With pages beinggenerated through API calls, some CMS might not use static URLs https://yoursitename.com/api/?category= primary&subtype=subcategory Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 57.
    These need tobe set at build stage. The good news is, with a headless CMS you have full control over URL structures Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 58.
    Blocking files #BrightonSEO Intro > WhatA Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 59.
    It’s also crucialto analyse your robots.txt when you migrate Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 60.
    If you’re blockingany JS files then crawlers won’t render them, and might not see the full content of your pages Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 61.
    Web Vitals Intro >What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 62.
    Just because yoursite feels fast, doesn’t mean it passes CWV tests Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 63.
    The issues don’tdisappear, they evolve Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 64.
    Internal linking Intro > WhatA Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 65.
    Enter... ‘onclick’ Intro >What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 66.
    With APIs beingtranslated using JS, it’s common to see JS elements such as “onclick” creep in @Wrighty__ Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 67.
    Fortunately, using atool such as Screaming Frog, we can spot these onclick issues quickly. Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 68.
    Once identified, speakto your development team to have these changed to standard href links. Intro > What A Headless CMS Is > Benefits > Switching #BrightonSEO @Wrighty__
  • 69.
    The wrap up Intro> What A Headless CMS Is > Benefits > Switching > Summary #BrightonSEO @Wrighty__
  • 70.
    1. Switching toa headless CMS needn’t be terrifying 2. The fundamentals of SEO still apply 3. Getting the build right is key 4. Ensure that you have SSR/SSG/Dynamic rendering in place 5. A switch to headless can lead to big performance improvements Intro > What A Headless CMS Is > Benefits > Switching > Summary #BrightonSEO @Wrighty__
  • 71.
    The most importantthing… is to make friends with your development team Intro > What A Headless CMS Is > Benefits > Switching > Summary #BrightonSEO @Wrighty__
  • 72.
  • 73.
  • 74.