Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

AngularJS and SEO

I've been searching for a proper answer and it's getting really confusing. Some answers are years old, others contradict what I just read in other sites...

My question is; Is AngularJS compatible with SEO (as of today)? I just don't get how a Google technology would be incompatible with Google... but that's how it seems to be with ajax based tech.

I'm spending lots of hours getting better with this framework and I wouldn't want to watch it deprecate next month...

Thanks!

Don't know if you read this, but we were just discussing it the other day: https://teamtreehouse.com/community/title-tags-for-seo-in-single-page-app

That discussion was specifically about the title tag in pages. If the dynamic title text idea works then that could also be applied to the description meta tag. There's a lot more to SEO than those things, but those are the main things that AngularJS might affect. The question remains whether Google can understand and crawl the structure of a SPA site. I hope someone can provide an answer to this. I know that it has no problem with finding the index page, but not sure about deeper pages.

1 Answer

Thanks, I will read that post.

But I think the problem goes even further than title and meta... For example if you tab product descriptions that contain keywords and Google can't reach them because that would require another GET, it would penalize your site too. For what I understand, any content not present in the static template is subject to disappear from Google results.

Just came across this interesting article on the subject: https://weluse.de/blog/angularjs-seo-finally-a-piece-of-cake.html