evanjmg / Angular-SEO-Prerender

A 2 step setup for SEO friendly Angular Apps!

Home Page:http://evanjmg.com/code/2015/10/18/SEO-Friendly-Angular-with-Prerender.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make an SEO friendly Angular App with Prerender and Node.js

See the Tutorial here to learn how it all works: http://evanjmg.com/code/2015/10/18/SEO-Friendly-Angular-with-Prerender.html
This is PART 1 - How to make Angular work with Prerender.io in Node.js
for PART 2 see Prerender Server Repo link here - here

Setup

In terminal, run git clone git@github.com:evanjmg/Angular-SEO-Prerender.git

cd angular-seo-prerender

npm install

bower install

node server.js

Continue onto Part 2 then comeback

go to this link, download, setup and run this separate server on a different port

Check if it works

Go to: http://localhost:3006/?_escaped_fragment_= Right click view page source, and if this text: 'If this shows with escape_fragment, then it works!' is visible in the div, you successfully setup SEO friendly pages for Angular, all locally :). Congrats! Be sure to follow me for more great tutorials.

About

A 2 step setup for SEO friendly Angular Apps!

http://evanjmg.com/code/2015/10/18/SEO-Friendly-Angular-with-Prerender.html

License:MIT License


Languages

Language:JavaScript 65.2%Language:HTML 34.8%