Angular seo
-
Hi, how to do seo with angular ? is there an easy way to make google crawl your website healthy?
-
I tend to avoid technologies like that (even if Google is involved), but here is a link that might be a start for you: http://googlewebmastercentral.blogspot.no/2014/05/understanding-web-pages-better.html
-
We have been using angular for a while. And we love it. It's a fantastic framework.
Of course google crawler is not going to interpret such complex javascript, so when you use angular you must think about SEO.
One approach beautifully described by google here is to use query string "escaped fragment" to serve static version of the pages to google crawler, we used it in the past, in my opinion is complex, and it's not the way to go.
Another approach is to use server side code to render page content and angular to make it dynamic. For every page where you employ angular think how you can serve the content at first load without angular, and add angular to make the UX dynamic.
For example... If you have slider/carousel you may be tempted to load the content with angular using ajax, don't, load it in the body of the page and render it as a slider using angular. You can use ng-cloak (which is perfectly white-hat as long as you use it properly) and ng-show and ng-hide or ng-animate.
If you plan on using angular url routing is fine as well, just don't load the main content with ajax, put it in the page in a safe way for crawlers and use angular routing to choose which one to display.
You can load secondary content like menu options or form field options with ajax, as long as those are not essential for your on-page optimization.
Angular is a great tool and does speeds up development a lot, I am a big fan of angularjs.
-
Thanks alot for your helpfull ressources, it helped alot !
-
Thanks, I'll go check it out