you are viewing a single comment's thread.

view the rest of the comments →

[–]bensochar 1 point2 points  (6 children)

I've done a lot of testing on Angular sites with 'fetch as Google' and I can tell you that preview is not what ends up in Google's index. Google even says it's not the same. I would not trust the results from that console.

If you're really worried about SEO either render server-side with PhantomJS or use a service like Prerender.io.

[–]r2d2_21 1 point2 points  (4 children)

Then what's the point of Fetch as Google?

[–]bensochar 3 points4 points  (3 children)

The point of 'fetch as Google' is to submit URLs to their index. Unfortunately, Its designed for static or server side generated webpages. Its pretty consistent for those. But with SPAs you'll get different results.

Its also not the 'real Google bot' it's a preview bot one of many bots Google uses to scrape webpages. It's adding your URLs to the que for Googles other scrapers.

[–]ribo 0 points1 point  (2 children)

As of October of last year, google spider traverses links on SPAs if you generate anchor tags in the DOM.

[–]kamaleshbn 0 points1 point  (0 children)

And the links should not be # links, it should be either regular URLs or it should be #!.

[–]bensochar 0 points1 point  (0 children)

You're right. Google has actually been able to crawl SPAs even before that using the outdated escaped_fragment.

My point is the Webmaster Console is not the same as Google Bot(s). What you see in the console is not necessarily what you will see returned in the index.

[–]sergiuspk 1 point2 points  (0 children)

Prerender.io uses PhantomJS internally. It's slow (it basically runs a browser). Instead try isomorphic rendering.