Theming

SEO with Server-Side Rendering for Drupal 7

Check your version

This tutorial covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Alternate resources

Sprout Video

One of the historic complaints—and drawbacks—of client-side Javascript applications is that they aren't SEO-friendly. While Google's crawler, in particular, is starting to execute Javascript on pages it indexes, in this tutorial, we'll take a look at a couple other of methods of mitigating this issue.

In particular we'll learn about:

  • Prerender.io
  • What is Isomorphic Javascript?
  • Writing a server with Express.js

Self-check question: In addition to SEO, what are some other benefits of isomorphic javascript?

Additional resources

Prerender.io
Express.js
What is an isomorphic application? — by Juampy NR on Lullabot.com