Hi, I have put together a list below of what to avoid when developing in 
Angular 2 or Google will have problems with indexing the site. 

Is there additional things to think about and last point below. I think of 
Facebook, Twitter, etc. 

Any advice is most welcome :-) 

Avoid things that Google (probably) can’t handle

•       Use rel=canonical when serving content from multiple URLs is required.
•       Don’t use hashtags to define the URL.
•       Don’t use weird linking elements like render a <span> element, then 
attach a click hook which fires a pushState().
•       Follow the principles of progressive enhancement.
•       Limit the number of embedded resources, in particular the number of 
JavaScript files and server responses required to render the page.
•       Don’t block resources as essential script or data resources from being 
crawled by robots
•       Keep in mind that other search engines and web services accessing your 
content might not support JavaScript at all, or might support a different 
subset.

I am a web analyst

All the best from me.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to