Kevin C.
Kevin C.

Reputation: 2527

How does AngularJS's own website serve SEO-friendly pages

You can see an example of the pre-rendered content that AngularJS.org serves to the Google bot and other scrapers at http://docs.angularjs.org/?_escaped_fragment_=/tutorial/step_09

I'm curious as to how this was implemented. It doesn't seem like they're using a headless browser to generate snapshots, but are instead rendering the markup server-side. But I can't seem to find how this is implemented on their site's Github repo: https://github.com/angular/angularjs.org

Upvotes: 2

Views: 648

Answers (2)

special0ne
special0ne

Reputation: 6263

We have tried different solutions (from this list). We decided to go with Seo4Ajax as our prerendering service.

Upvotes: 1

pasine
pasine

Reputation: 11563

You can have a look at this article explaining how to enable pre-render for each server configuration.
Alternatively check prerender.io that can do pre-rendering for you.

Upvotes: 2

Related Questions